Ok I have an idea and before I attempt it I was hoping someone had some
advice or input that might help me decide it to go forward with the idea.
 
Basic idea.
Normal index renders the Ajax pagination based on standard $paginate
condition from the controller.
 
This renders all the Posts in the site...nothing special.
I have a Star/Bookmark icon beside each Post so the User can update (save or
remove the bookmark for each post)
 
Now I have added a checkbox where the user can select to either show / hide
all the Bookmarked Posts, so if the paginate has 20 posts, 10 Posts that the
User has saved it will hide them only showing 10 Posts that are not
favourites.
 
But what I need is to re-paginate so that when the number of User Posts are
hidden, the next difference will load in so that there is always 20 posts in
the pagination
What would be the ideal solution to repaginate and save the hide/show
variable to session so paginate can be done with this in its condition?
 
Dave 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to