Hello again! :P
can someone explain me how to set the parameter 'persist' in
Router::Connect() function to achieve insert automatically the
language on the first level of url in every $html->link()? I searched
a lot and I didn't find a goog exlanation about this. I need url's
like this:
www.example.com/esp/news/...
www.example.com/cat/news/...
The explanation in api is as follows:
"persist is used to define which route parameters should be
automatically included when generating new urls. You can override
peristent parameters by redifining them in a url or remove them by
setting the parameter to false. Ex. 'persist' => array('lang')"
Thanks!
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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=en