Page 1 of 1

Paginating menu

Posted: Wed Apr 11, 2012 10:23 am
by thomsonson
Hi,

I need to get a menu template set up which will allow users to navigate forward and backwards through a set of sibling pages of a particular parent page, using previous/next links. There also needs to be a counter, as in: n of n.

The links at the bottom left of the page below (currently set up manually) illustrate exactly what I need:
http://lindaaloysius.com/index.php?page=sculptures

If there is cheaper/more efficient way of doing this without setting up a menu template, that would be fine too. If anyone is interested please message me back.. thanks!

Re: Paginating menu

Posted: Wed Apr 11, 2012 11:18 am
by mcDavid
You can use {cms_selflink dir="next"}
Look at the cms_selflink help page for all options

Re: Paginating menu

Posted: Wed Apr 11, 2012 12:21 pm
by thomsonson
hi, thanks i have tried that already.. The problem is more complex in that the 'next' link for the final page must take the user back to the first page, and vice versa for the 'prev' link on the first page. I can't see a way to do that with cms_selflink.
I have also tried to implement a n of n counter using content_dump tag, but it is a little beyond my coding abilities!

Re: Paginating menu

Posted: Wed Apr 11, 2012 1:50 pm
by staartmees
did you try the the Gallery-module?

Re: Paginating menu

Posted: Wed Apr 11, 2012 2:08 pm
by thomsonson
not sure how the gallery module would help here?

Re: Paginating menu

Posted: Thu Apr 12, 2012 1:08 am
by applejack
Depends how you want to do it,

See
http://www.clivegrylls.com/photos/india ... cape/11-2/

PM me if you are interested