Yii Bootstrap Widgets

Hi, this is a very nice extension, and I’m trying to make something with it.

But I can’t find the way to render a ‘working’ dropdown button. I tried with the examples in the wiki, but didn’t work (at least in my installation).

Does anyone have this issue as well, or it is only mine?

This is the code:


<?php 

echo EBootstrap::buttonDropdown(EBootstrap::ibutton('Dropdown Button', '#', 'success'), array(

    array('text' => 'Submenu 1', 'url' => '#'),

    array('text' => 'Submenu 2', 'url' => '#'),

));

?>

And this is the wiki example: http github.com/VisualAppeal/YiiBootstrap/wiki/Buttons

And this is a working example: http visualappeal.github.com/YiiBootstrap/index.php/site/page/index-view=buttons.html

Thanks and all the best!

I have problem with including

there is my error message




Property "EBootstrapNavigation.itemCssClass" is not defined



what do u think?

What is the problem? That is the same code I use for the demo application. Did you include the less files? Do you get a JS error?

What yii version do you use? EBootstrapNavigation extends the CMenu class, so the CMenu class in your yii version has no attribute "itemCssClass"…I think;)

Was my fault in the config file. Thanks

Hello

i have installed this on my localhost, but it seems it is running extremely slow, any idears why?

rgds Martin

Probably because the test app uses a sqlite database? Don’t know without further details.

About installation, i have a problem like this


 include(EBootstrapSidebar.php): failed to open stream: No such file or directory 

any clue ?

You have to import the widget in your config:





'import'=>array(

    'application.models.*',

    'application.components.*',

    ...

    'application.widgets.bootstrap.*',

),



yes, done… but its slow in my localhost. thanks its awesome… :)