Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Mark2] change NEXT button to show different category&link

Quote Reply
Re: [Mark2] change NEXT button to show different category&link In reply to
Well!!! maybe I am not explaining it very well...

What I want is a way to pre-set the sequence of links regardless of the category (not just within the same category), means I want to specify what category/link should appear next (from any category and not just the same category) when the user clicks on the NEXT button (from paging).
I have my links set to display ONE link per page.
I want the change to be made in the parent category, so here I can specify the sequence of links that should get displayed instead of just letting LINKS display them as the user does not care about the category, rather, just the admin does ...example...(g=2,more5.html) >>> (g=6,more3.html)..etc...
So I should have a field in category table to specify the sequence...
and something like below on the subcategory pages:

Code:
<loop throught_link_navigation_sequence>
<if link_is_not_in_this_category>
display_next_navigation_link_from_refering_category;
else
display_next_navigation_link_from_this_category;
<endif>

Last edited by:

Mark2: Oct 3, 2006, 2:35 PM
Subject Author Views Date
Thread change NEXT button to show different category&link Mark2 1902 Oct 3, 2006, 9:34 AM
Post Re: [Mark2] change NEXT button to show different category&link
Mark2 1855 Oct 3, 2006, 2:18 PM