I am reconstructing CMS (flexica) to have multiple front ends, instead of one front end.
Under /protected I have created a directory /users where I put list of directories corresponding to each user.
Now when I write, for example, ‘www.mycms.com/john’ it should go to johns page, but it responds with an error ‘Unable to resolve the request “john”.’ This is not a behaviour I am satisfied with…
I know that I have to make changes to controllers, but I have a username which “changes” and next time can be, for example, ‘luke’ and so the controller must be dynamic?
Could you please point me to the direction of salvation in this situation?
what i need is basically that Yii would ignore ‘john’ part and load page as it is: www.mycms.com.
when a user enters www.mycms.com/john, all what is happening is that i take ‘john’ and load ‘john_db’ database. i fill in the same website with data from johns database.