Hi every:
Because I'm using Bootstrap from Twitter and want to prettify my page ;) I
need to set a <a href="#">{number}</a> to the active element in Paginator
Helper. Right now my code looks as follow:
<ul>
<?php
echo $this->Paginator->prev('<< ', array('tag' => 'li'), null,
array('class' => 'prev disabled', 'tag' => 'li'));
echo $this->Paginator->numbers(array('separator' => '', 'tag' =>
'li', 'class' => 'active', 'first' => __('First page'), 'last' => __('Last
page')));
echo $this->Paginator->next(' >>', array('tag' => 'li'), null,
array('class' => 'next disabled', 'tag' => 'li'));
?>
</ul>
But I not found a way for wrap the active link in a <a
href="#">{page_number_active}</a> otherwise the LI is generated in this
way: <li>{page_number_active}</li>. This only happen with the active link
the rest of them is wrapped inside a <a> element. Any help on this?
Cheers and thanks in advance
Ing. Reynier Pérez Mira
http://reynierpm.site90.com/
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php