Yii Framework Forum: [Ask] Cara Membuat Datepicker - Yii Framework Forum

Jump to content

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

[Ask] Cara Membuat Datepicker Rate Topic: -----

#1 User is offline   Ardaeolu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 25-February 14
  • Location:Jember

Posted 28 March 2014 - 02:18 AM

Minta bantuannya buat agan" suhu" para master yang suka develop pake yii framework,
0

#2 User is offline   Mulyana 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 28-March 14
  • Location:Bandung

Posted 28 March 2014 - 04:55 AM

yang paling gampang sih pake extension yiistrap
0

#3 User is offline   Ardaeolu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 25-February 14
  • Location:Jember

Posted 28 March 2014 - 11:43 PM

dari yii sendiri apakah tidak ada widget date picker
0

#4 User is offline   ismail.as.zen 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 13-March 14

Posted 30 March 2014 - 05:34 PM

View PostArdaeolus, on 28 March 2014 - 11:43 PM, said:

dari yii sendiri apakah tidak ada widget date picker


ada gan ... namanya cjuidatepicker
nih ane coba kasih contoh codingannya

<div class="row">
<?php
echo $form->labelEx($model,'tgl_terbit');
//cjui datepicker
$this->widget('zii.widgets.jui.CJuiDatePicker',
array(
//menentukan attribut/field tabel
'model'=>$model,
'attribute'=>'tgl_terbit',

'language'=>'en',


'options'=>array(
'mode'=>'focus',

'dateFormat'=>'d MM, yy',

'showAnim'=>'slideDown',
),

'htmlOptions'=>array('size'=>30, 'class'=>'date'),)
);

echo $form->error($model,'tgl_terbit');
?>
</div>


moge membantu gan
0

#5 User is offline   Ardaeolu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 25-February 14
  • Location:Jember

Posted 01 April 2014 - 01:17 AM

View Postismail.as.zen, on 30 March 2014 - 05:34 PM, said:

ada gan ... namanya cjuidatepicker
nih ane coba kasih contoh codingannya

<div class="row">
<?php
echo $form->labelEx($model,'tgl_terbit');
//cjui datepicker
$this->widget('zii.widgets.jui.CJuiDatePicker',
array(
//menentukan attribut/field tabel
'model'=>$model,
'attribute'=>'tgl_terbit',

'language'=>'en',


'options'=>array(
'mode'=>'focus',

'dateFormat'=>'d MM, yy',

'showAnim'=>'slideDown',
),

'htmlOptions'=>array('size'=>30, 'class'=>'date'),)
);

echo $form->error($model,'tgl_terbit');
?>
</div>


moge membantu gan


terima kasih gan, mantap's ! :D
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