I'm on cake 1.1 and am using the pagination component to do the paging for a site I am doing. Everything was working fine until a few minutes ago when I noticed that the page numbers weren't showing up. Upon closer inspection, I realized that the number of results wasn't showing up and neither was the "Results per page" option. The interesting thing is, however, that the component is limiting the number of results on each page to 5 and the $paging variable seems to be alright. I emptied out my database today and the only code that I have changed has been pagination.thtml where changed the display to:
<div style="width:33%; float:left;"><?php echo $pagination->result(); ? ></div> <div style="width:34%; float:left; text-align:center;"><?php echo $prev." ".$pages." ".$next."<br>"; ?></div> <div style="width:33% float:right; text-align:right;">Results per page: <?php echo $pagination->resultsPerPage(NULL, ' '); ?></div> Thanks, Chris Barna --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
