Yii Framework Forum: How Add Cjuidatepicker In Jqrelcopy On Yii Framework - Yii Framework Forum

Jump to content

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

How Add Cjuidatepicker In Jqrelcopy On Yii Framework Rate Topic: ***** 1 Votes

#1 User is offline   Florent GilliĆ©ron 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 29-November 12

Posted 03 December 2012 - 09:06 AM

I have a problem with CJuiDatePicker in the module JQRelcopy on Yii framework.

I use this module as I have a form with a datepicker field to be copied as many times as the user wishes.

The module works fine if I put a normal field (without datepicker), but as soon as I add the module CJuiDatePicker which is also a module of the Yii framework, I have a blank page appears. I followed the following tutorial: http://www.yiiframew...sion/jqrelcopy/ explains the integration jqrelcopy in a form containing CJuiDatePickerm, which is exactly what I need.

I study the problem and I saw that it was when I Atoute the following line in the properties of my widget JQRelcopy the problem occurs:

'jsAfterNewId' => JQRelcopy::afterNewIdDatePicker($datePickerConfig),


in

$this->widget('ext.jqrelcopy.JQRelcopy', array(

      'id' => 'copylink',
      'removeText' => 'remove',

      //add the datapicker functionality to the cloned datepicker with the same options
      'jsAfterNewId' => JQRelcopy::afterNewIdDatePicker($datePickerConfig),

    ));


I look in several forums and anywhere a person has had the same problem as me.

Can you help me?

Sorry, for my English
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