Yii 1.1: clockpick

extension for jQuery clockpick utility
3 followers

This extension is ...

Resources

Documentation

Requirements

  • Yii 1.0 or above

Installation

  • Extract the release file under protected/extensions

Usage

See the following code example:

$this->widget('ext.clockpick.ClockPick', array(
            'id'=>'time',
            'model'=>$model,
            'name'=>'time',
            'options'=>array(
                'starthour'=>8,
                'endhour'=>18,
                'event'=>'click',
                'showminutes'=>true,
                'minutedivisions'=>4,
                'military' =>false,
                'layout'=>'vertical',
                'hoursopacity'=>1,
                'minutesopacity'=>1,
            ),
        ));

Change Log

September 22, 2010

  • Initial release.

February 15, 2011

  • Updated to version 1.2.9 - fixed layout

Total 3 comments

#2835 report it
ejac at 2011/02/15 01:27am
PLEASE HELP

I tried to use the extension and it works... The problem is i cannot change the area it should must appear. It always float to the upper left.

Can anybody help me..

Thanks.. Anyway the extension was nice!

#2762 report it
frocco at 2011/02/07 09:39am
case-sensitive

Thanks, I changed the example.

#2433 report it
huanito at 2010/12/30 02:12pm
works well

Downloaded your zip into extensions using wget, unzipped there, added

    public $time;

to model class and inserted your sample code in the view and hey presto! it worked.

You have a very small typo in the sample code attributes

'layout'=>'Vertical',

comes up as horizontal until changed to

'layout'=>'vertical',

seems to be case-sensitive.

This is a nice wrapper for http://www.jnathanson.com/index.cfm?page=jquery/clockpick/ClockPick Awesome. Thanks!

Leave a comment

Please to leave your comment.

Create extension