I try to sett theming automatically.
so I just change view location :
Yii::app()->setViewPath(Yii::app()->getBasePath() . '/../themes/default/views/');
is it correct way?
I get the problem when I change the view location:
the problem is. when I call widget in protected/components/views, it is not found.
when I use this script:
it was failed.
please tell me how to use theming correctly? I want to change default views location on "protected/views/" into "themes".