theo000 2011-06-29 17:44:54 3857次浏览 9条回复 0 0 0

如题,下载了主题,不会配属性theme, themeUrl,也看了群里的哥们给的帮助,但是还是没配置出来。帮助连接:www.yiiplayground.cubedwater.com/index.php?r=UiModule/jui/ziiDatePicker 主要是因为

'themeUrl' => Yii::app()->baseUrl.'/css/jui' ,  
'theme'=>'pool', //try 'bee' also to see the changes

路径不清晰,求高手指教!

  • 回复于 2011-06-29 18:03 举报

    求助啊!有木有!大神

  • 回复于 2011-06-29 18:05 举报

    没看明白问题,再详细描述一下!

  • 回复于 2011-06-30 08:33 举报

    就是我下载了主题,放在了css下,也不知道放的对不对,不知道如何配置CJuiDatePicker的主题属性theme和themeUrl,我自己试了半天,没试出来

  • 回复于 2011-06-30 08:39 举报
    <?php 
    $this->widget('zii.widgets.jui.CJuiDatePicker', array(
      'model'=>$item,
      'language'=>'zh',
      'attribute'=>"[$i]from_time",
      'theme'=>'le-frog',
      'options'=>array(
        'dateFormat'=>'yy-mm-dd',
      ),
    ));
    ?>
    

    我直接把le-frog复制到assets中生成的jui/css中了

  • 回复于 2011-06-30 08:40 举报
    'themeUrl' => Yii::app()->baseUrl.'/css/jui' ,  
    'theme'=>'pool', //try 'bee' also to see the changes 
    

    按照你写的代码,应该把pool这个文件夹放到/css/jui/pool

  • 回复于 2011-06-30 08:43 举报

    我先试试哈。谢谢舰长啦

  • 回复于 2011-06-30 09:07 举报

    项目里好几个jui/css,不知道如何区分,靠试试出来的,base 就是smoothness吧?

  • 回复于 2011-06-30 09:10 举报

    你就放到/css/jui/pool就行了,怎么会有好几个jui/css呢?再有N个也不用管它。

  • 回复于 2011-06-30 09:21 举报

    舰长威武!

    按照你的方法能行,放assets/XXXX/css/jui和css/jui/下面都行!

您需要登录后才可以回复。登录 | 立即注册