problem-previous/next page link

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
user101
New Member
New Member
Posts: 5
Joined: Fri Apr 10, 2009 12:08 pm

problem-previous/next page link

Post by user101 »

When i make a page inactive, it still shows in the previos/next links.
Can anyone help..
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: problem-previous/next page link

Post by RonnyK »

what version are you on.... IIRC was that fixed in later versions....

Ronny
user101
New Member
New Member
Posts: 5
Joined: Fri Apr 10, 2009 12:08 pm

Re: problem-previous/next page link

Post by user101 »

1.5.3
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: problem-previous/next page link

Post 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
user101
New Member
New Member
Posts: 5
Joined: Fri Apr 10, 2009 12:08 pm

Re: problem-previous/next page link

Post 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?
user101
New Member
New Member
Posts: 5
Joined: Fri Apr 10, 2009 12:08 pm

Re: problem-previous/next page link

Post by user101 »

i will just make allthe subpages also inactive..

thanks Ronny
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: problem-previous/next page link

Post by tyman00 »

Making a parent inactive does not make the children inactive.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: problem-previous/next page link

Post 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
Post Reply

Return to “CMSMS Core”