farbtastic A good-looking color picker

  1. Requirements
  2. Usage
  3. Resources

This extension simply extends CInputWidget to provide Farbtastic.

Requirements

Works with Yii 1.1.x.

Usage

It's really just a CInputWidget with a couple of asset manager calls. It assumes existing field values to be of type '#ff00ff' including the hash mark, and the view isn't exactly good, but it works fine with wide form. Modify according to taste.

$this->widget('ext.farbtastic.Farbtastic', array('model'=>$somemodel, 'attribute'=>'colorattr'));

Resources

3 1
2 followers
860 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: onre
Created on: Feb 11, 2011
Last updated: 7 years ago

Downloads

show all

Related Extensions