Monday, May 2, 2011

Re: Question about pagination

No, class 'current' is statically written and can't be changed 
--
Lep pozdrav, Tilen Majerle



2011/5/2 Roland Pish <rolandpish@gmail.com>
Hi there.

When displaying $paginator->numbers(), I need to replace the current
class of the current page from 'current' to 'active', so that the
current page instead of displaying:
<span class="current">...
I want it to display:
<span class="active">...

I've researched in $paginator->numbers() options but I haven't found a
way to change that.

Is it possible?

Thanks in advance.

Roland.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

No comments: