Conflicting Widgets Cjuidialog And Datepickerrow


I’m a beginner learning Yii and Yiibooster bootstrap.

My goal is to have a view (create action) that displays a datepicker - yiiboster bootstrap datepicker encapsulated in a datepickerrow - and a button to show some content inside a dialog (zii.widgets.jui.CJuiDialog).<br/>

Currently I’m having three different problems (ordered by importance) that I think are Yii related as opposed to yiibooster (i’m refering to the first one):

  1. The main problem is that when i have the dialog zii.widgets.jui.CJuiDialog in the page, (mistaeriously to me) the datepicker that is apparently loaded is the CJuiDatePicker. If I just remove the dialog widget then the datepicker is the one from the yiibooster bootstrap.

  2. The Yiibooster datepicker (that I see when I remove the Dialog), has some glitches in CSS with the header rows (year and week days) with some rounded blue css and white corners.

  3. Finally some minor annoyance is the fact that the button in front of datepickerrow is not aligned appearing a little bit down in the row.

Here is a minimised version of my code just for testing purposes:





)); ?>

	<p class="help-block">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

<?php echo $form->datepickerRow($model, 'dt_start',


		'prepend'=>'<i class="icon-calendar"></i>',










<?php $this->widget('bootstrap.widgets.TbButton', array(




		'onclick'=>'js:$(\'#employeedg\').dialog(\'open\'); return false;'




<?php $this->endWidget(); ?>










echo 'content test';



Can anyone give any direction?

Many thanks in advance!