Buck Anderson - DNN Professor Member Login
February 08, 2012

ForumsDNN Professor Forums

DotNetNuke Forums | Xmod Forums | Internet Marketing Forums | DNN Professor Product Forums

Product Support and Product Forums Registration


Subject: Return to Filtered List
Prev Next
You are not authorized to post a reply.

Author Messages
ECFUser is Offline

DNN Active Member
DNN Active Member
Posts:41
Send This Member a Private Message

07/17/2009 4:17 PM  

Sorry for all the questions, but really trying to get this up and running.

Is it possible, when using a List 2 template filtered by Category, to return to that same filtered list after viewing the Detail page? For a small number of products, returning to the full list might not be a problem, but when the list is lengthy with several categories, it requires an extra step for the user to again select the filter. I'm using the URL filter method.

Thanks,
Ed

Buck AndersonUser is Offline

DNN Master
DNN Master
Posts:657

Send This Member a Private Message

07/20/2009 5:36 PM  

Hi Ed,

If we were using the detail 1 we could incorporate the xmod:returnbutton.

But, this Xmod token will not work with the Xmod separate details page.

If you think you can control your users action to return to the previous viewed page your could try building a link in a text/html module that calls the javascript history.go method.

In these examples I have replaced the arrows with brackets so the code will render in this forum post.

[a href="javascript:history.go(-1)"]Go back[/a]



[a href="javascript:history.go(-1)"][img border="0" alt="Return to List" src="/Portals/0/xmod/packages/BusinessDirectory/dnnp-return-to-list.png" /][/a]


Buck


Buck Anderson - DNN Professor

DNNprofessor.com


http://twitter.com/DNNprofessor


DotNetNuke - XMod Training Coach and XMod MVP


ECFUser is Offline

DNN Active Member
DNN Active Member
Posts:41
Send This Member a Private Message

07/22/2009 3:34 PM  
Thanks Buck,

I used your second example and it works great. You say "If yo think you can control your users action...", are there potential problems using this method?

Ed
Buck AndersonUser is Offline

DNN Master
DNN Master
Posts:657

Send This Member a Private Message

08/08/2009 8:42 AM  

Hi Ed,

No real issues. With history.go you sometimes get unexpected results, compared to a hard link, when the user does some creative browser navigation.

Buck


Buck Anderson - DNN Professor

DNNprofessor.com


http://twitter.com/DNNprofessor


DotNetNuke - XMod Training Coach and XMod MVP


You are not authorized to post a reply.
Forums > Product Forums > Move My Inventory > Return to Filtered List



ActiveForums 3.7

Copyright 2004 - 2012 by Jive Media Group LLC. All Rights Reserved.  | Terms of Use | Privacy Statement | Email White Listing | Site Map