This extension is ...
protected/extensionsSee 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, ), ));
Total 3 comments
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!
Thanks, I changed the example.
Downloaded your zip into extensions using wget, unzipped there, added
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 login to leave your comment.