Hi,
I would like to have this html syntax:
- <ul class="pro_pages">
- <li>
- <a href="#" class="pro_btn pro_prev"><span></span></a>
- </li>
- <li class="current">
- <a href="#" class="pro_btn pro_page">1</a>
- </li>
- ...
- <li>
- <a href="#" class="pro_btn pro_next"><span></span></a>
- </li>
- </ul>
But how do I add the class names in this code?
echo $this->Paginator->prev('<span></span>', array('escape'=>false,
'tag'=>'li'));
echo $this->Paginator->numbers(array('separator' => '', 'tag'=>'li'));
echo $this->Paginator->next('<span></span>', array('escape'=>false,
'tag'=>'li'));
How do I add a class to the <li> and how do I add a class to the <a> tag?
Please help!
Thanks!!
--
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].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.