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

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.

More Similar Posts

No results found.

Menu