There is a bit of a change between the way PaginatorHelper::next() behaves
in v1.3 and v2.1 which I just can't get my head around.
Take the following snippet:
echo $this->Paginator->next('Next', array('tag'=>'div',
'class'=>'next_page', 'rel'=>'next'), null, array('class'=>'next_page
disabled'));
*v1.3 Output*
*
*
<div><a href="/customers/index/All/15/page:2" rel="next"
class="next_page">Next</a></div>
*v2.1 Output*
<div class="next_page"><a href="/jobs/view_open/17/page:2"
rel="next">Next</a></div>
In v1.3 it appears to apply the class to the link rather than the wrapping
tag. In v2.1, it applies the class to the wrapping tag and not the link.
Is there any way to revert to how it was, or if not, is there a way to
style the link inside the wrapping tag?
--
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