Paginating menu

A place to make for-pay "CMS made simple" job offerings
Post Reply
thomsonson
Forum Members
Forum Members
Posts: 39
Joined: Wed Aug 24, 2011 9:47 am

Paginating menu

Post 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!
mcDavid
Power Poster
Power Poster
Posts: 377
Joined: Tue Mar 31, 2009 8:45 pm

Re: Paginating menu

Post by mcDavid »

You can use {cms_selflink dir="next"}
Look at the cms_selflink help page for all options
thomsonson
Forum Members
Forum Members
Posts: 39
Joined: Wed Aug 24, 2011 9:47 am

Re: Paginating menu

Post 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!
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Paginating menu

Post by staartmees »

did you try the the Gallery-module?
thomsonson
Forum Members
Forum Members
Posts: 39
Joined: Wed Aug 24, 2011 9:47 am

Re: Paginating menu

Post by thomsonson »

not sure how the gallery module would help here?
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Paginating menu

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

Return to “Help Wanted (commercial)”