Hi,
I use pagination for my view. In this in the index page I m showing
all records from the database and for one page I m showing 15 records
only. In my controller command for the pagination is
" $this->set('customers', $this->paginate('Customer')); "
But if my record is only three then also pagination shows the number
1,2,3 next.
It should be disable when there no record greater than 15.
In my index.ctp I m using this :-
<?php echo $paginator->prev(); ?>
<?php echo $paginator->numbers(); ?>
<?php echo $paginator->next(); ?>
Can u please help me.
Thanks,
Nil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---