Yii Framework Forum: bagaimana cara menerapkan widgate timepicker - Yii Framework Forum

Jump to content

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

bagaimana cara menerapkan widgate timepicker ASK Rate Topic: -----

#1 User is offline   anggoro ari nurcahyo 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 23-January 11

Posted 01 April 2011 - 10:37 AM

saya mendapatkan widgate timepicker untuk editor tanggal dan waktu, tapi saat saya mengimplementasikannya muncul exception :
Object of class timepicker could not be converted to string
mohon pentunjuknya, ini code yang saia pake

<div class="row">
  <?php echo $form->labelEx($model,'create_time'); ?>
  <?php echo $this->widget('ext.timepicker.TimePicker', array(
                           'model'=>$model,
                            //'value'=>$model->create_time,
                           'name'=>'create_time',
                           ));  ?> 
  <?php echo $form->error($model,'create_time'); ?>
</div>


catatan :
-widgate sudah saia extract ke protected\extention\
-saia lagi coba rubah editor textField dari widget CActiveForm jadi widget timepicker di form yang saia buat.
0

#2 User is offline   junxiong 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 543
  • Joined: 21-June 10

Posted 01 April 2011 - 10:06 PM

coba hilangkan echo pada bagian $this->widget(....
“The most likely way for the world to be destroyed, most experts argue, is by accident. That’s where we come in; we’re computer professionals. We cause accidents.” - Nathaniel Borenstein

Yii Playground : Collaborative demo apps. You can join to improve it too!
My Team's Blog: In Indonesian.
0

#3 User is offline   anggoro ari nurcahyo 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 23-January 11

Posted 01 April 2011 - 10:08 PM

View Postjunxiong, on 01 April 2011 - 10:06 PM, said:

coba hilangkan echo pada bagian $this->widget(....



iya ka teryata bisa.... hahahhaha... makasie atas petunjuknya :D
0

#4 User is offline   deny 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 25-February 14

Posted 25 February 2014 - 06:25 AM

gan kasih penjelasan dari awal penjelasan penggunaan timepicker dong gan
newbi banget nih
ane ngikutin yang di atas masih ga bisa makasih
0

#5 User is offline   dst34m 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 70
  • Joined: 07-November 12

Posted 25 February 2014 - 09:07 AM

View Postdeny, on 25 February 2014 - 06:25 AM, said:

gan kasih penjelasan dari awal penjelasan penggunaan timepicker dong gan
newbi banget nih
ane ngikutin yang di atas masih ga bisa makasih



agan ga bisa nya dmn?
0

#6 User is offline   shava 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 22-July 13
  • Location:Indonesia

Posted 18 July 2014 - 10:42 AM

View Postdst34m, on 25 February 2014 - 09:07 AM, said:

agan ga bisa nya dmn?

:D bisaaaaaa thanks buat yang jawab
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