Discussion relating to version 1.3.x and 1.4.x
i'm using sfDoctrine pagination.
it all works fine.
when the user adds an item i'd like to have a "view in list" link somewhere on the page that will take it to the paginated list page that the item shows up on.
has anyone tried to do this or do you have any ideas?
- Faithful Member
- Posts: 205
- Joined: Sun Nov 29, 2009 8:32 pm
I would probably do this the obvious way and go through all the pages to see if it's on that page xd.
You could also take the element you're trying to see in the list as the offset, and just always have that one to be the first one in the list. (list-and-a-half?) Would probably impose some more complicated problems, though.
- Junior Member
- Posts: 13
- Joined: Sun May 22, 2011 9:40 pm
Return to symfony 1.3 and 1.4
Who is online
Users browsing this forum: No registered users and 8 guests