If use the rules from this page to apply a new theme, this is not working.
I set in /config/main.php
'name'=>'My Test Web Application',
'theme'=>'mytheme',
Then I create a new structure of folder for new theme
mytheme/
views/
.htaccess
layouts/
main.php
site/
index.php
with values for my new theme.
But when I navigate to my index, old theme is used.
If I ask in SiteController to echo "mytheme is = ".Yii::app()->theme, I receive a null value of Yii::app()->theme;
Any else value setted in main.php for app, is printed, but theme not. WHY???