I received an error, the Path 'ext.bootstrap.components.Bootstrap' is invalid, make sure PHP file exists.
To fix it, I had to chmod 755 bootstrap (only the extension's "root" directory, everything within it was fine).
I don't know if this was maybe caused by some weird coincidence on my machine. (Might be OS X specific.)
I downloaded the .zip, it was auto-extracted by Safari, and I then just copied it into my Yii directory. Worked with all the other extensions.
But just in case, anyone who gets this error, please make sure your webserver is actually allowed to read/execute the file.
By the way, there's a small typo in your documentation (installation): 'coreCss'=>true // whether to register the Bootstrap core CSS (bootstrap.min.css), defaults to true
, is missing after true.
Edit:
I think two things would be helpful for the documentation:
1) When using white icons within BootNavmenu, use 'icon'=>'icon-home icon-white'.
2) If you want to add properties to your <a>-Tag, e.g. for using modals, you can simply do this by adding 'linkOptions'=>array('data-toggle'=>'modal'), .
I think this is not 100% obvious, also since BootNavmenu seems not to extend CMenu. (I tried to set encodeLabel to false which didn't work.)
Thus, my first guess would have been to use CHtml::link()-options.
This post has been edited by christoph: 11 February 2012 - 06:15 AM

Help















