On Apr 23, 7:56 am, Eno <symb...@gmail.com> wrote:
> On Thu, 23 Apr 2009, LawrenceKrubnerwrote:
> > The code has worked before, in other contexts, so I'm unclear why it
> > is not working now.
>
> Are you sure there are > 30 items?
>
> You probably should have some code that doesn't show the next link if
> you're on the last page OR there are less than 30 items to show.
Well, remember, the whole thing is wrapped in this if block:
<?php if ($pager->haveToPaginate()): ?>
so if those links appear at all, that means there is something to
paginate.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---