Yii Framework Forum: timepicker - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

timepicker Eliminare Ora Rate Topic: -----

#1 User is offline   Duma 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 39
  • Joined: 13-March 11

Posted 29 July 2011 - 10:53 AM

Qualcuno sa come settare timepicker per lasciare il calendario ma senza l'ora???


vi ringrazio
0

#2 User is offline   Duma 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 39
  • Joined: 13-March 11

Posted 29 July 2011 - 11:44 AM

Per chi รจ interessato posto il codice per timepicker..

<?php Yii::import('application.extensions.CJuiDateTimePicker.CJuiDateTimePicker');
$this->widget('CJuiDateTimePicker',array(
'model'=>$model, //Model object
'attribute'=>'DataDiNascita', //attribute name
'mode'=>'date', //use "time","date" or "datetime" (default)
'options'=>array('dateFormat'=>'yy-mm-dd'), // jquery plugin options
'language' => '',

));
?>



qui il file (http://www.yiiframew...TimePicker.zip/) da mettere in extensions
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users