Datepicker From Giix

When using GiiX CRUD, I see that it has generated code for the data fields in my my model. But, when I test the field, the date picker doesn’t appear. I am using a custom theme, is there a different option for making the date picker appear?

i didn’t get your question properly but i think you might want to use date picker…

if you are looking for date picker field then try following code

<div class="row">

		<?php echo $form->labelEx($model,'attribute_name'); ?>

		<?php $this->widget('zii.widgets.jui.CJuiDatePicker', array(

			    'model' => $model,

			    'attribute' => 'attribute_name',

			    'htmlOptions' => array(

		        'size' => '10',         // textField size

		        'maxlength' => '10',    // textField maxlength


			)); ?>

		<?php echo $form->error($model,'atribute_name'); ?>