@leo: i need to include lang code in the url, request from the client.
I also am not sure about other possible (IMO) disadventages using your
method (caching pages, unable to send url that will point to the right
page)
@gjiize: yes i read them and they also suggest overriding htmlhelpers
methods.
here is what i have tried, but didnt work as expected.
<?php
class AppHelper extends Helper {
function url($url=null, $full=false) {
return 'en/'.parent::url();
}
}
?>
Any help/hints?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---