Open Avtonom opened 10 years ago
You need to specify in config the theme name liki ( 'theme' => 'themeName', ), after you create the folder inside the folder ('/www/themes/themeName') of each environment, ('Yii::app()->theme->baseUrl') is point to this folder.
http://www.yiiframework.com/doc/guide/1.1/en/topics.theming#creating-a-theme
themes/ themeName/ views/ .htaccess layouts/ # main layouts files # main.php site/ # controller views # index.php
Alternatively, if you're only using one theme for each environment, simply put the files directly in the views folders.
where I create the theme files?
ROOT/themes/THEMES_NAME/views/* ?