How to set the Theme in the Yii Framework on the Fly

No Comments
Yii::app()->theme = 'ThemeName';

The above code can be set anywhere in your Yii Application to change the current Theme.

Image Credits: Photo by Isis França on Unsplash.

Last Updated On March 22, 2018

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link