Thank you.
 
Dave

  _____  

From: Scott Dahl [mailto:[email protected]] 
Sent: November-12-09 11:39 PM
To: [email protected]
Subject: Re: Admin Pagination routing


Add this in the view before you echo anything related to the paginator: 


$paginator->options(array('url' => array('admin' => true)));


On Thu, Nov 12, 2009 at 5:10 PM, Dave <[email protected]> wrote:


I am trying to set up admin pagination but I cant seem to find how to get
the admin/ before the generated links.

I see $options['url'] Url of the action. See Router::url() but other than
that I am at a loss how to set it up.

<div class="paging">
 <?php echo $paginator->prev('<< '.__('previous', true), array(), null,
array('class'=>'disabled'));?>
 |  <?php echo $paginator->numbers();?>
 <?php echo $paginator->next(__('next', true).' >>', array(), null,
array('class'=>'disabled'));?>
</div>

Any help would be appreicated.

Thanks

Dave

--

You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected]
<mailto:cake-php%[email protected]> .
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=.





--

You received this message because you are subscribed to the Google Groups
"CakePHP" 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=.


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.707 / Virus Database: 270.14.60/2496 - Release Date: 11/12/09
11:03:00


--

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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=.


Reply via email to