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.

Data Model Questions

Item-by-Item Pagination


Reply

2 Posts   1283 Views

Avatar
jondbaker

24 March 2010 at 5:24am Community Member, 19 Posts

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

25 March 2010 at 6:42am Community Member, 279 Posts

http://doc.silverstripe.org/doku.php?id=private:recipes:pagination