S C R I P T B A K E R

Loading

Switch Yii layout based on user role

You can assign different layouts to different users using following filter class 1. Add LayoutFilter.php to your protected/components/ folder 2. Update protected/components/Controller.php and add following filters 3. Update all controllers and add following filters

Read More