why don't use gwoo's named parameters to keep url pretty? like: http://www.noswad.me.uk/pagination/titles/show/10/page/2
On 7/3/06, AD7six <[EMAIL PROTECTED]> wrote: > > Hi all, > > After a discussion on the irc today, and given that pagination is > something pretty common, I thought it was about time to try and create > a "copes with all" solution. There are a number of solution dotted > around, I've taken a look at all and tried to ensure I didn't miss > anything out. That said I haven't looked at the presentation side of > things (images, google style). > > I just finished playing around with this: > http://www.noswad.me.uk/pagination. You can get the example plugin and > the associated component, helper and element with the "download me" > link on the page. Each link is a variation of the same page (perhaps > obviously). > > This is clearly an effort to update and enhance what pj and gwoo did (a > good job of) a while ago - I've left out the ajax from the demo for now > to highlight what is happening with the url, one bit of logic that is > missing is to automatically use ajax updates if a) it's available and > b) the parameter to use ajax if available is set to true. Not sure on > the best way to do that - help welcome. > > The syntax for use is slightly different from the wiki (less code to > write) and as such> Tarique Sani in keeping with what we discussed if > you feel this goes far enough towards a generic solution - I'd welcome > any efforts writing a tutorial and will create a snippet or otherwise > fix the code tomorrow. > > Comments welcome (except regarding the other things on the site that > break because of this update ;)), Cheers, > > AD7six > > > > > -- Armando Sosa www.nolimit-studio.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
