Page 1 of 1
problem-previous/next page link
Posted: Fri Apr 10, 2009 1:34 pm
by user101
When i make a page inactive, it still shows in the previos/next links.
Can anyone help..
Re: problem-previous/next page link
Posted: Fri Apr 10, 2009 1:54 pm
by RonnyK
what version are you on.... IIRC was that fixed in later versions....
Ronny
Re: problem-previous/next page link
Posted: Fri Apr 10, 2009 2:00 pm
by user101
1.5.3
Re: problem-previous/next page link
Posted: Fri Apr 10, 2009 2:08 pm
by RonnyK
How do you call the cms_selflink, as a quick test, shows that the page isnt showing when the page is marked as inactive.
Ronny
Re: problem-previous/next page link
Posted: Fri Apr 10, 2009 2:11 pm
by user101
ok..i have seen what the problem is....i had made the parent page inactive....
but not its subpages....
so all the subpages are still visible in the previous/next links..
should that happen?
Re: problem-previous/next page link
Posted: Fri Apr 10, 2009 2:49 pm
by user101
i will just make allthe subpages also inactive..
thanks Ronny
Re: problem-previous/next page link
Posted: Fri Apr 10, 2009 4:52 pm
by tyman00
Making a parent inactive does not make the children inactive.
Re: problem-previous/next page link
Posted: Fri Apr 10, 2009 6:18 pm
by RonnyK
If you want to show next/prev only for siblings, then you can install CGSimpleSmarty, and use some logic from that to only show next/prev, when the pages are on the same level....
Ronny