Hi,
As topic says; is it possible to have CUrlManager::rules change depending on the users language?
Thanks.
Hi,
As topic says; is it possible to have CUrlManager::rules change depending on the users language?
Thanks.
I saw something like that in forum, one year ago, but I cannot find out the post.
If I remeber well the author was Max, try asking him.
Sorry if I cannot help you more!
I would like to have different rules.
You can do this by extending the url manager class and make it store and receive the rules from database.
Then you will bind an event to onBeginRequest so that the database rules are loaded before the url manager class starts processing them.
While you have the option to save the rules into database via an admin panel, you can create aliases for each of your urls.
This is just an idea, from the top of my head, but should work just fine.