Skip to content

Instantly share code, notes, and snippets.

@tom--
Created August 30, 2012 16:03
Show Gist options
  • Select an option

  • Save tom--/3531767 to your computer and use it in GitHub Desktop.

Select an option

Save tom--/3531767 to your computer and use it in GitHub Desktop.
CClientScript component config for a custom jquery.ui
<?php
...
'clientScript' => array(
'class' => 'CClientScript',
'packages' => array(
'jquery.ui' => array(
'basePath' => 'ext.jquery-ui-custom',
'js' => array(
'js/jquery-ui-1.8.18.custom' . (YII_DEBUG ? '' : '.min') . '.js'
),
'css' => array("css/custom-theme/jquery-ui-1.8.18.custom.css"),
'depends' => array('jquery'),
),
),
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment