Hi, I'm not aware of the CSS technique you mention, but if the $option array of the numbers() method can't help you, what I would personally do is creating my own Helper in my app inheriting from the core PaginatorHelper.
This would allow to override the numbers() method to do what you need, without modifying the core helper. Modifying code under the cake folder is always a bad idea and in your case it can easily be avoid by using inheritance. On 17 juin, 00:25, mvanderw <[email protected]> wrote: > Hi all, > > I'm getting ready to deploy my first full-blown Cake app and am > polishing the last bits and pieces of the front-end. One of the things > I'd like to do is to use the sliding doors CSS technique to create > reusable buttons. For this purpose I'd like to generate spans inside > the anchor tags that the Paginator helper outputs, but it doesn't seem > like the numbers() method accepts any option that lets me do that. > > Am I overlooking something, or will I have to hack PaginatorHelper to > generate spans inside the anchors? > > Thanks in advance for any pointers! > > - Mike 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 [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
