yii 多模板
main.php:
//替换所有模板
//加载文件名为first的模板
// 'theme'=>'theme1',
'components'=>array(
//改变主题basepath
'themeManager'=>array(
'basePath' => __DIR__. '/../themes'
),
//单个控制器:
public function actionIndex(){
Yii::app()->setTheme('theme1');