I found this article to be usefull regarding prefix routing:
http://www.pagebakers.nl/2008/12/04/cakephp-router-and-prefixes/
It shows how you can get the right urls for paginator, links and forms
using cake's prefix functionality.
On Apr 12, 11:05 pm, Hazem Mohamed hazeim...@gmail.com wrote:
Hi,
I'm using cake for a while and have problems with prefix routing in
every project I created. Its behavior is not what it should be. The
following issues happened to me:
* setting any other named params the prefix becomes one of the in the
format $prefix:1. This makes some problem with pagination and I made
seriously bad workarounds to get it working.
* when I tried to make redirects and URLs to a plugin it does the same
thing and the prefix became a named parameter.
I tried many workarounds and changed many times and nothing changed. I
tried to set prefix in the url array for different functions, in
pagination urls everything failed to work with me.
Do any one has a solution before sending a ticket in trac. Thanks in
advance ans sorry for my poor English
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---