Page 1 of 1

How to exit the loop of selflinks when a "pagelink" page is used ?

Posted: Thu Oct 09, 2008 8:36 pm
by fxv_cms
Hello,

A very useful navigation help is the "Previous page / Next page" which can be activated through
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}

However, I am confronted with a loop in the following case :
Example : 2 menu items + 2 pages depending on the 2nd menu item
Page 1
Page 2
  Page 2.1
  Page 2.2


Page 1, 2.1 and 2.2 have content
Page 2 is a link page to page 2.1

Here is the loop :
When pressing the "Previous" entry on page 2.1, CMS goes to page 2, sees the link to page 2.1 and goes back to 2.1
The user who comes from page 1 after having pressed "Next" iand wants to get back s stuck on page 2.1 and doesn't understand why he can't go back up to Page 1.

Does anyone know if there is a way to bypass link-page 2 and go back from 2page 2.1 to page 1 ?

Thanks

François

P.S. I know that I could define Page 2 as a section header, but the pagelink is more user-friendly since the user doesn't have to go down the menu hierarchy to get to the first page. This is especially true when using 3 levels.