Re: CakePHP and Paginate urls

2009-03-27 Thread Miles J

You cant remove page 1, its part of the pagination system. Paginator
uses named params, I would highly suggest not changing it. Might as
well build your own paging system then.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



CakePHP and Paginate urls

2009-03-27 Thread jmcca...@gmail.com

Hi all,

I am trying to get CakePHP Paginator helper to output links as such:

http://someurl/page/1

At the moment it outputs links like the following:

http://someurl/posts/index/page:1

I have figured out how to change the controller and remove the action
from the url. Unfortunately, I have yet to be able to figure out how
to get CakePHP to output just the page number and not 'page:1'.

Any help is greatly appreciated!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---