Ya! Awesome Thank You bbuchs! I have a few question(s) though if you can answer them or if anyone else can.
How can I default the displaying of the home page for the controller to the last page. So if there is 10 pages ... instead of going to page 1 ... it goes to page 10 first. Is this possible? My second questions I answered myself :) ... so just that one question. Thank You once again! - J On Feb 23, 12:57 pm, "bbuchs" <[EMAIL PROTECTED]> wrote: > loop through the pageCount paramater and output the links > > <?php for ( $page = 1; $page <= $paginator->params['paging'] > [$paginator->__defaultModel]['pageCount']; $page++): ?> > <?php if ($page != $paginator->current() ): ?> > <li><?php echo $html->link($page, > '/admin/'.$paginator->params['controller'].'/index/page:'.$page) ?></li> > > <?php else: ?> > <li><strong><?php echo $page ?></strong></li> > <?php endif; ?> > <?php endfor; ?> > > On Feb 23, 1:23 pm, "Jon M." <[EMAIL PROTECTED]> wrote: > > > Nobody can help me out :( ? > > > I tried doing a search but couldn't find anything on it. Please :) > > > On Feb 22, 3:11 pm, "Jon M." <[EMAIL PROTECTED]> wrote: > > > > I am curious if anyone can show me how to add selectable page numbers > > > along side the "prev" and "next" links. Having 50 pages and having to > > > click next 50 times to get to the last page is not fun :) so if > > > someone can help me out with that ... I would be very thankful :D ! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---