xavix242
(Xavi Boix)
June 28, 2012, 7:49am
21
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!
murid
(Darkstar Cc)
July 29, 2012, 5:30pm
22
I have problem with including
there is my error message
Property "EBootstrapNavigation.itemCssClass" is not defined
what do u think?
demo88
(Thelfensdrfer)
July 29, 2012, 7:05pm
23
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?
demo88
(Thelfensdrfer)
July 29, 2012, 7:07pm
24
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;)
xavix242
(Xavi Boix)
August 6, 2012, 8:27am
25
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
demo88
(Thelfensdrfer)
August 16, 2012, 8:23pm
27
Probably because the test app uses a sqlite database? Don’t know without further details.
deib97
(Deib97)
July 24, 2013, 4:39am
28
About installation, i have a problem like this
include(EBootstrapSidebar.php): failed to open stream: No such file or directory
any clue ?
demo88
(Thelfensdrfer)
July 24, 2013, 7:25am
29
You have to import the widget in your config:
'import'=>array(
'application.models.*',
'application.components.*',
...
'application.widgets.bootstrap.*',
),
deib97
(Deib97)
July 29, 2013, 5:08pm
30
demo88:
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…