Friday, September 3, 2010

RE: Alternate Pagination question

Sorry , my first thought would be to do a looping find->first of each letter and so if it found a record starting with A set that link true, if nothing for B then just the letter no link and co on…..

 

The only  problem I see is 26 queries just to build the paging links.

 

Other ideas?

 

Thanks

 

 

 

From: Dave Maharaj [mailto:me@davemaharaj.com]
Sent: September-03-10 6:22 PM
To: cake-php@googlegroups.com
Subject: Alternate Pagination question

 

Has anyone created,  thought of , started on the idea of an alphabetical character paging system?

So rather than 1 | 2 | 3 it spits out A |B |C?

 

The ABC part seems rather simple just getting the letters to be links if there are records for that letter seems to be the real issue. Any ideas on how to approach this one before I start?

 

Thanks,

 

Dave

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: