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
User Contributed Notes 3
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!
case-sensitive
Thanks, I changed the example.
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!
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.