Thursday, January 08, 2009     | Register
To start or answer a thread you will need to login...


Forum Guidelines

Please ensure you follow the bug-raising guidelines (e.g. post the full error from your Event Viewer) if you are raising a support call. To request a feature in a module, please use Feature Requests (unless you want to discuss it here in more detail first). If you have an urgent feature that you would like to see in the product then you should consider a Sponsored Enhancement.

 

First Time User? Make sure you have read the Module Config Guide in the documents folder of each module. Also check out this handy Module Deployment Guide (written by a Smart-Thinker customer!)

Configuration issues and no time to read the Forums/Documentation? See our DotNetNuke Premium Support Service.

 

We need your opinion! Please read our proposed new CrowdSourcing development method and let us know if you would be interested and if it might work.

 
 
  Forums  DotNetNuke  Smart-Thinker E...  Detail View Back URL
Previous Previous
 
Next Next
New Post 1/29/2007 6:32 AM
  Jeff Ditty
2 posts
No Ranking


Detail View Back URL  (United States)
Hello-

I currently have the events module installed in my portal.  I have setup two separate instances of the events module on separate pages within the portal , with each instance having its own detail view.  Everything works fine, except for the issue below.

The problem I am having is that the back button located in the detail view keeps redirecting to a page in the portal that does not contain any events modules.  This is occurring on both detail views that are in the portal.  The back button redirects to the same page, which does not contain any event modules, for both detail views.

Any ideas?

Thanks,

JD
 
New Post 1/30/2007 12:24 AM
  Rodney Joyce
3064 posts
www.DNNDir.com
1st Level Poster




Re: Detail View Back URL  (N/A)
Hi JD,

This is a tricky one and a problem I am facing on all my "view" type modules - basically any page can pass in a UserID (for the ST UserProfile) or EventID (for Events) or a GroupID to these types of modules. The Back button then checks the URLReferrer property and sets it's destination to that value. This means that it will go back to any page and you do not have to hardcode the return value (as you don't always know it).

The problem with this is that sometimes it gets stuck in a loop if you go to different pages and come back again.

Unfortunately I do not have a solution for this at this time - if you have any ideas please let me know... I will think about it and see if I can come up with a more robust solution...


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 2/6/2007 1:00 PM
  Jeff Ditty
2 posts
No Ranking


Re: Detail View Back URL  (United States)

Hello Rod,

 

After doing some testing, I think the problem is the url property is caching.  If you have multiple Event modules with corresponding Event Detail modules configured properly to operate from different pages,  the url property for the "Back" button redirects to the first Event Module that was viewed....

 

For example, let's say I have two Event Modules (A & B) setup on different pages, and Event Detail (C & D) modules setup on different pages.  If I view Event Module A, select to view a new event, it will direct me to the correct Event Detail module.  When I hit the Back button, it returns me to Event Module A.  Now, if I go to the other page containing Event Module B, select to view an event from Module B, it directs me to the correct Event Details module for Event Module B.  The problem is when  I hit the Back button, it will redirect me to Event Module A.

 

This seems pretty consist.  I think the easiest solution would be to hardcode the return tab value for the Back button url.  This would allow the control of the url to the appropriate tab value.  This is an easy value to retrieve, and is the way I hardcode values for navigation in other modules.

 

I need to resolve this fairly quickly, as it will delay my deployment of the module into production.

 

Any thoughts or ideas?

 

Thanks again,

 

JD

 
New Post 2/6/2007 1:22 PM
  Rodney Joyce
3064 posts
www.DNNDir.com
1st Level Poster




Re: Detail View Back URL  (N/A)
Hmm - you may be on to something with the caching - it sets a session variable with the URL Referrer and perhaps it is not cleaning it out.

I can't hardcode the tab as it could come from anywhere - for example, I even hardcode links on my Home Page saying "Featured Event".

I know for a fact that there are problems around using the URL Refferer (ie. if you edit the Guests it stores that URL and gets stuck in a loop) but so far I cannot think of a way around it (hardcoding is not an option when it could come from anywhere). I have the same problem on Groups and UserProfiles....

I'll be releasing an update to the Events module with the new templated user lists (for Guestlist and selection)in the next week or so - I'll take a look at it then but I can't promise anythign I'm afraid.


Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
New Post 2/9/2007 5:53 AM
  Rodney Joyce
3064 posts
www.DNNDir.com
1st Level Poster




Re: Detail View Back URL  (N/A)
Ok, I have changed the Back Button to use the ViewState and not the Session so it should stop this problem. When the new Events version is released (soon) please confirm that this is no longer a problem. There are still a few issues around this whole area but this particular problem should be fixed.



Thanks
Rodney
See our modules in action on PokerDIY, a social network for home poker players

Smart-Thinker DotNetNuke Development Blog
 
Previous Previous
 
Next Next
  Forums  DotNetNuke  Smart-Thinker E...  Detail View Back URL
Top Threads
In the past 1 week, we have 23 new thread(s) and 61 new post(s)
The most popular thread has been Re: Sponsored Enhancement Proposal Estimate - StoryFeed Commenting
The most active thread has been accept Friend Request?
Smart-Thinker is powered by DotNetNuke - please support us and DotNetNuke - DotNetNuke Powered!
© 2008 Smart-Thinker   |  Privacy Statement  |  Terms Of Use