Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • mossss
  • mossss's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 100
  • Thank you received: 7
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

Please Log in or Create an account to join the conversation.

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

  • BTB300
  • BTB300's Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132
similar issue here www.j-cook.pro/forum/7-design-your-appli...-passed-to-next-form (trying to redirect using save / apply buttons)

Please Log in or Create an account to join the conversation.

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

  • mossss
  • mossss's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 100
  • Thank you received: 7
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.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.053 seconds

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started