Welcome, Guest
Username: Password: Remember me

TOPIC: next/previous buttons from item layout

next/previous buttons from item layout 22 Mar 2012 03:08 #1705

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
I want to put Next and Previous Buttons on the item detail layouts, so a user can just browse through the items without having to return to the grid every time, but not sure how to do.

I can make it work one time by passing the next/previous item id's through the URL from the grid but then on subsequent detail layouts, this information is obviously not going to get passed through.

Is there an in-Cook way of achieving this?

Thanks
The administrator has disabled public write access.

Re: next/previous buttons from item layout 22 Mar 2012 04:57 #1706

  • BTB300
  • BTB300's Avatar
  • Online
  • Moderator
  • Posts: 414
  • Thank you received: 130
  • Karma: 46
similar issue here www.j-cook.pro/forum/7-design-your-appli...-passed-to-next-form (trying to redirect using save / apply buttons)
The administrator has disabled public write access.

Re: next/previous buttons from item layout 22 Mar 2012 05:40 #1707

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
Thanks, but don't see an answer for me unless I am missing something.

What I need to have is simply a list of id's from the most recent collection, in a filtered and sorted state, not sure if it makes sense to store it during the collection display. Then from any detail plant, just have to find the current item id in the list and move forwards or backwards from that.

Or other way is to rerun the most recent query again from each detail page to recreate the list.

I'll try both, but just wondered if there was a simpler or more correct way to do this.

So, really a matter of the best way to do this.
The administrator has disabled public write access.
Time to create page: 0.093 seconds

Get Started