Yiistrap configuration issue

前端 未结 2 416
谎友^
谎友^ 2021-01-16 02:54

I am trying to get Yiistrap (Bootstrap for the Yii Framework) to work on Cent OS 6.5. I\'ve unpacked the yiistrap-master into extensions/bootstrap and added the following to

相关标签:
2条回答
  • 2021-01-16 03:39

    With Yiistrap 1.3.0 I had to do the following:

    'import' => array(
        'bootstrap.helpers.TbHtml',
        'bootstrap.helpers.TbArray',
        'bootstrap.behaviors.TbWidget',
        'bootstrap.widgets.*'
    )
    
    0 讨论(0)
  • 2021-01-16 03:52

    I had the same problem. You can fix it configuring all required directories for bootstrap in your main.php:

    'import'=>array(
        ...
        'bootstrap.helpers.*',
        'bootstrap.widgets.*',
        'bootstrap.behaviors.*',
    ),
    
    0 讨论(0)
提交回复
热议问题