I am developing a website using Yii. I want to change the application name dynamically in program. I know I have to change the Yii::app()->name value. But I know where should I put it to overwrite what is written in config.php file.
Oh, well. You are always free to chane [font="Courier New"]Yii::app()->name[/font] by simply assigning it a new value. But I think it were better to alter the name of the app in the [font="Courier New"]protected/views/layouts/main.php[/font] template.
You can put it in every views of your website by putting a value in $this->pageTitle. But I suggest you have to declare the app name and append the other title. Something like this Main Application - Login.