I copied protected\views to themes\classic\views

Added this in main.php




But it is still using the default views. Any help?

You don't need to configure themeManager. Instead, you set 'theme' property of application.


Ok, my bad, I put the ‘theme’=>‘classic’ at the end of the config main.php file, but didn’t notice the “),” below it, so it was actually within components… heh.

I still have a question about the css file though. It is included with:

<?php echo CHtml::cssFile(Yii::app()->baseUrl.’/css/main.css’); ?>

How can I incorporate that into the theme so it can be switched with the theme. Most of the time the theme change is going to mainly involve a new css file.

<?php echo CHtml::cssFile(Yii::app()->theme->baseUrl.’/css/main.css’); ?>