Just getting into CakePHP for a project and am really enjoying
developing with it, so good work to the team! Look forward to seeing
how it progresses. Onto my question, and a fairly simple one I should
hope.
I'm trying to change the containing tags for the paginator. My code
is:
<?=$paginator->prev('Previous', array('class' => 'first', 'tag' =>
'li'), null, array('class' => 'disabled', 'tag' => 'li'))?>
<?php echo $paginator->numbers(array('separator' => null, 'tag' =>
'li')); ?>
<?=$paginator->next('Next', array('class' => 'last', 'tag' => 'li'),
null, array('class' => 'disabled', 'tag' => 'li'))?>
By my reckoning this should be correct - the numbers method generates
LI tags, as do the Previous/Next links when they're disabled, however
they don't appear to be applying the tag and class to the non-disabled
Prev/Next links.
Any ideas what might be up?
Cheers,
Alastair
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment