Themes in yii structure

How to create a basic theme and subtext in yii structure?

+3
source share
5 answers

Take a look at this: http://www.yiiframework.com/doc/guide/1.1/en/topics.theming

If I'm not mistaken, you can switch your theme at the application, module and controller level if you want. You just need to put the files in the right place as described in the link.

+3
source

, , app_root/themes , . app_root//MyTheme/

(app_root/protected/views/) .

, .

.

P.S. / /, . theme/views /protected/views.

+1

, yii . , / qiang- yii.

than going through this Yii 1.1 Application Development Cookbook, it really helps in the subject, you can just stroke the crud files and become a simple backend administration interface.

0
source

Source: https://habr.com/ru/post/1795281/


All Articles