Re: Paginate - from paginated list to single paginated item

2010-04-21 Thread Bart
Hi paul, Thanks for your reply. I used your approach and it works! Thanks Now I had the paginator configured in such a way that the order of the items is done along a custom field 'order' and not by default along 'id'. And it seems the find('neighbors') does not allow the indication of an

Re: Paginate - from paginated list to single paginated item

2010-03-13 Thread WebbedIT
If wanting to show the previous and next records in a dataset whilst viewing a particular record the find('neighbours') should do the trick http://book.cakephp.org/view/73/Retrieving-Your-Data#find-neighbors-811 HTH Paul Check out the new CakePHP Questions site http://cakeqs.org and help

Paginate - from paginated list to single paginated item

2010-03-12 Thread Bart
Hi there, I want to link from a list of paginated items to a single item and 'zoom in' to it. How do I properly create a link? / What is the preferred approach? After zooming in I want to be able to use $paginator-next() and $paginator-prev(); So the function controlling the 'zoomed in' view