Returning next and previous item in a list

24 views
Skip to first unread message

jkinzel

unread,
Feb 1, 2010, 5:11:26 PM2/1/10
to RedDot CMS Users
I have a list of pages and when I click on a page in that list, I need
to be able to display a link to the next and previous page in the list
(similar to the Drupal book module, if anyone is familiar with that).

Anyone got any ideas? I'd like to not use pre-execute if possible
(i.e. Render tags only) although I'm not sure it is.

Even if you solution uses pre-execute...I'm listening because I'm
fresh out of ideas. I know how to get the parent link working, the
issue is the next/previous links.


Parent Page ( lst_Pages)
- Page 1 (contains links to parent and next pages)
- Page 2 (contains links to parent, next, and previous pages)
- Page 3 (contains links to parent and previous pages)

TonyGayter

unread,
Feb 1, 2010, 6:23:41 PM2/1/10
to RedDot CMS Users
There is an element type which does exactly this, it might just be in
v10 though, I cant check until Im at work tommorrow though

Gavin Cope

unread,
Feb 1, 2010, 8:27:49 PM2/1/10
to reddot-cms-users
The browse placeholder will do exactly what you're talking about but I believe it has been deprecated in version 10.

Cheers,

Gavin

--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To post to this group, send email to reddot-c...@googlegroups.com.
To unsubscribe from this group, send email to reddot-cms-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.


Message has been deleted

jkinzel

unread,
Feb 2, 2010, 9:41:33 AM2/2/10
to RedDot CMS Users
Hey guys,

Thanks, it will at least get me to the page.

Any chance you have returned the headline of the respective pages?

Joel

On Feb 1, 7:27 pm, Gavin Cope <gavin.c...@gmail.com> wrote:
> The browse placeholder will do exactly what you're talking about but I
> believe it has been deprecated in version 10.
>
> Cheers,
>
> Gavin
>

> On 2 February 2010 09:23, TonyGayter <tonygay...@googlemail.com> wrote:
>
> > There is an element type which does exactly this, it might just be in
> > v10 though, I cant check until Im at work tommorrow though
>
> > On Feb 1, 10:11 pm, jkinzel <joelkin...@gmail.com> wrote:
> > > I have a list of pages and when I click on a page in that list, I need
> > > to be able to display a link to the next and previous page in the list
> > > (similar to the Drupal book module, if anyone is familiar with that).
>
> > > Anyone got any ideas? I'd like to not use pre-execute if possible
> > > (i.e. Render tags only) although I'm not sure it is.
>
> > > Even if you solution uses pre-execute...I'm listening because I'm
> > > fresh out of ideas. I know how to get the parent link working, the
> > > issue is the next/previous links.
>
> > > Parent Page ( lst_Pages)
> > >  - Page 1 (contains links to parent and next pages)
> > >  - Page 2 (contains links to parent, next, and previous pages)
> > >  - Page 3 (contains links to parent and previous pages)
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "RedDot CMS Users" group.
> > To post to this group, send email to reddot-c...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > reddot-cms-use...@googlegroups.com<reddot-cms-users%2Bunsu...@googlegroups.com>

TonyGayter

unread,
Feb 2, 2010, 10:30:15 AM2/2/10
to RedDot CMS Users
Yes browse is the one I was thinking of, and its still in reddot
10 :)

> > > reddot-cms-use...@googlegroups.com<reddot-cms-users%2Bunsubscrib­e...@googlegroups.com>


> > > .
> > > For more options, visit this group at

> > >http://groups.google.com/group/reddot-cms-users?hl=en.- Hide quoted text -
>
> - Show quoted text -

Reply all
Reply to author
Forward
0 new messages