Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Item-by-Item Pagination


Go to End


2 Posts   2157 Views

Avatar
jondbaker

Community Member, 19 Posts

24 March 2010 at 5:24am

I've read through the tutorial and thread (http://www.silverstripe.org/e-commerce-module-forum/show/264306#post264306) on creating pagination for a Holder type page, but would like to be able to set it up on a Item by Item basis as well.

The examples above refer to Articles and Products in an online store, but I am looking to apply this technique to individual Projects within a ProjectHolder (portfolio). I understand how to set it up for a Holder page, but would like to be able to navigate within different projects using 'Previous' and 'Next' links that update dynamically based on which Project is currently being displayed.

Link to my ProjectHolder: http://www.jonathandbaker.com/ - from here you can click on any Project, and it is within these pages that I'd like to apply the 'Previous' and 'Next' links.

Avatar
baba-papa

Community Member, 279 Posts

25 March 2010 at 6:42am