Help with 'persist' on Router::Connect

2010-12-30 Thread talisker
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:

Re: Help with 'persist' on Router::Connect

2010-12-30 Thread Amit Badkas
Hi, I haven't tried this yet but I think you need to build the link using code something like echo $this-Html-link('News', array( 'controller' = 'news', 'action' = 'index',