Note that there are some explanatory texts on larger screens.

plurals
  1. POYiiBooster CSS apparently not loading
    primarykey
    data
    text
    <p>I have installed YiiBooster and am using the latest Yii v1.1.13. My <code>main.php</code> file contains the following configuration:</p> <pre><code>'preload'=&gt;array('log','bootstrap'), // application components 'components'=&gt;array( 'bootstrap'=&gt;array( 'class'=&gt;'ext.bootstrap.components.Bootstrap', 'responsiveCss'=&gt;true, ), 'user'=&gt;array( 'class'=&gt;'RWebUser', // enable cookie-based authentication 'allowAutoLogin'=&gt;true, 'loginUrl'=&gt; array('/user/login'), ), ... </code></pre> <p>However, after doing this none, of the YiiBooster widgets are displaying properly. As a new user I am not able to post images; however, my <code>datepickerRow()</code> widget looks just like the one in this post: <a href="https://stackoverflow.com/questions/15081365/yii-booster-datepicker-not-working-correctly">Yii Booster datepicker not working correctly</a>. The 'look' of the widget is not normal. </p> <p>I have a number of other problems with other widgets. The bigger problem is the TbExtendedGridView that is not showing any of the View/Edit/Delete icons. Actually none of my 'prepend' icons are working on the forms either. Any ideas?</p> <p>As requested - here is an example of a widget not working correctly. None of the little icons for view/edit/delete are shown. Also the row striping is not working, and the column title bar is a strange color.</p> <pre><code>$this-&gt;widget('bootstrap.widgets.TbExtendedGridView', array( 'dataProvider'=&gt;$dataProvider, 'type'=&gt;'striped', 'columns'=&gt;array( 'Registration', 'WONumber', 'InspectionType', 'LogEntryDate', ), )); </code></pre> <p>I am also having trouble with a textfieldRow() control. So I don't believe this is a problem with widgets, I think it is something to do with the way I have YiiBooster configured.</p> <hr> <p><strong>UPDATE - Still Not Working</strong></p> <p>I have found that the file in conflict with the CSS is the /var/www/intranet/css/screen.css file. When I remove this file from my main.php layout file, the CSS from YiiBooster works properly. The problem is that the rest of the page looks terrible.</p> <p>So, I'm still researching why I can't run blueprint CSS and YiiBooster at the same time. Any help would be appreciated.</p> <hr> <p><strong>UPDATE - SOLVED</strong></p> <p>I found that other people were having trouble running the stock Yii blueprint CSS setup, so I switched completely over to YiiBooster and have not had any problems. I removed the CSS links in my main.php layout file. After converting all of the Yii widgets to YiiBooster widgets, everything works great.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload