themepicker Simple solution to picking theme

  1. Requirements
  2. Usage

This is a simple extension to pick themes. The themes scanned from your theme directory, and the user get the choice to pick one via dropbox, simple and effective... you can add some css to style things, this is CPortlet User choice (theme choice) stored in cookie.

You are more than welcome to improve it and share

Requirements

Yii framework ;-)

Usage

Copy the ThemePicker directory to your extensions directory

When you extend CController... Put inside CController::init() method :

Yii::import('ext.ThemePicker.EThemePicker');
EThemePicker::setTheme();

*as an alternative you can put it in beforeAction, this will also work...

In your view put

<?php
$this->widget('ext.ThemePicker.EThemePicker', array(
)); 
 ?>
9 0
11 followers
1 148 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: dckurushin
Created on: Sep 4, 2011
Last updated: 13 years ago

Downloads

show all

Related Extensions