CJuiDatePicker theme

Hi,

I was wondering is there any way to change default ‘base’ theme for CJuiDatePicker?

Attribute ‘theme’ works for all widgets which I used… but no for DatePicker :confused:

After changing ‘theme’ in this widget DatePicker is not appear… Firebug shows that datepicker divs are on it’s place, but I can’t do them visible… I changed themeUrl, css file for theme is included (another widgets works). Hmm… Any ideas?

Just verified that this works for me




...

'widgetFactory'=>array(

  'class'=>'CWidgetFactory',

  ...

  'widgets' => array(

    ...

    'CJuiDatePicker' => array(

      'themeUrl'=>'/js/jquery-ui-1.8/themes',

      'theme'=>'ui-lightness',

      //'scriptUrl'=>'/js/jquery-ui-1.8/ui/minified',

    ),

  ),

),



/Tommy


'widgetFactory' => array(

			'widgets' => array(

				'CJuiTabs' => array(

					'themeUrl'=>$baseUrl.'/js/jui/css',

					'theme'=>'redmond',

					'options'=>array(

						'collapsible'=>false,

					),

					'htmlOptions'=>array(

						'style'=>'min-height:400px',

					),

				),

				'CJuiDatePicker' => array(

					'themeUrl'=>$baseUrl.'/js/jui/css',

					'theme'=>'redmond',

					'language'=>'pl',

					'options'=>array(

						'dateFormat'=>'yy-mm-dd',

					),

				),

			),...

This not working for me :expressionless:

Works for tabs, not working for datepicker.

Only difference in folders with jui theme is that in redmond theme, I have only one, main ‘jquery-ui.css’ file, and in base theme there are many files for all widgets separately. Could that be an issue? I could’t find complete theme files on JqueryUI site… only that one file :confused:

I couldn’t either… seems like they don’t offer the complete set of themes in one file anymore.

Attached you’ll find the themes I downloaded last year.

/Tommy

Thank you very very very much Tommy! :)

muchas gracias por el aporte

Thank you, it really help :)