It all started with the amazing extension of Chris to allow Yii programmers to include the beauty of Bootstrap into our Yii applications.
I was in charge to create a Yii project startup for Clevertech and I thought that Yii-Bootstrap should be standard for it, and that was the reason it was included in YiiBoilerplate. It was an excellent decision.
Then, CEO Kuty Shalev, told me to provide solutions for the common challenges that Yii developers confront in our projects at Clevertech, we wanted to do things fast. That was the reason I started to create a widget library that, with the support and help of colleague programmers, was growing and growing everyday.
The goal was to maintain the beauty of Twitter Bootstrap, so the widgets were built on top of the development version of Chris' Yii-Bootstrap extension. The results were highly acceptable, and we agree to share this with the community so to help and improve it for the benefit of everybody.
I truly hope it helps you build beautiful applications and to easy some of the challenges you face. Would be great to have your support to improve, as by helping the community, you will help Yii, and that will always be good for all us.[![YiiBooster](http://yii-booster.clevertech.biz/images/yii-booster-snap.png "YiiBooster")](http://yii-booster.clevertech.biz)
YiiBooster is a collection of widgets that will ease the task of developing Yii applications, as well as, giving your application a little boost. Basically, YiiBooster tackles the most common challenges that Yii developers face while trying to enhance their applications.
Widget List ¶
YiiBooster has a huge collection of widgets, it includes all Yii-Bootstrap widgets plus many more:
- Button groups
- Button dropdowns
- Navigational tabs, pills, and lists
- Labels and badges
- Typographic components
- Progress bars
- Tables and Grids
- JQuery UI Bootstrap Theme
- JSON Grid
- Extended Grid
- Extended Summaries
- Grid/Chart Switcher
- Bootstrap Editable Widgets
- Image Column
- Inline Editing Columns
- Toggle Columns
- Calculated Sums
- Picker Columns
- Extended Tooltips
- and many more...
For more information on how to get started with the library plus tons of examples per widget, please visit YiiBooster Site.
Even though the library was built on top of Yii-Bootstrap and we have kept the configuration of YiiBooster and the naming conventions in honor of Chris, it is not compatible with it. We have made lots of changes plus many enhancements.
This is also true for the JQuery plugins within. We had to modify them to work with the widgets and provide the expected functionality.
Performance Issues ¶
If you think that YiiBooster is running your application slow, is due that the Bootstrap.php Component placed on the components folder registers its assets per request for debugging purposes. You can easily turn off this behavior by removing the YII_DEBUG variable from the getAssetsUrl function.
This issue will be solved in version 1.0.6. where that behavior will be configurable.
Resources and Download ¶Contribute to this library through our Github repository.
- YiiBooster Forum
- YiiBooster Site
- YiiBooster Github repository
- YiiBooster Zipball
- YiiBoilerplate Github repository
- YiiBoilerplate Zipball
Change Log ¶
- December/08/2012 Updated to version 1.0.5
November/25/2012 Update to version 1.0.4
- Lots of bug fixes and enhancements
- New Widgets:
- TbMarkDownEditorJs (thanks @kazoo)
- TbCKEditor (v.4)
- TbGridView now supports responsive design
- TbBox can now hold any type of buttons (Thanks @dragnet)
- Bootstrap Gallery plugin is also part of the framework
- And much more
October/27/2012 Update to version 1.0.3
- Lots of bug fixes
- TbDatePicker plugin refactor to avoid conflicts with JQuery.UI and TbEditable
- Added TbColorPlugin (thanks Yiqing-95)
- Added TbSortableAction for ajax saving sortable rows (thanks magefad)
- TbToggleColumn (thanks magefad)
- TbExtendedGridView now supports all IDataProvider
October/22/2012 Update to version 1.0.2
- Lots of bug fixes
- Added Form Builder support (thanks Joe!)
- Added TbToggleButton widget
- Added TbWizard
- Added TbTabView
October/18/2012 Updated to version 1.0.1
- Issues fixed and enhancements added from #1 to #33 at github
well-built beautifully designed web applications
another wonderful bootstrap lib
amazing works . thanks for sharing . need a topic to talk about this lib
one question : does it compatible with the original Yii-bootstrap extension ?
and a feature request : supporting the Yii formbuilder formbuilder
I will do that asap...
Yes it fast
Yes it fast
Problem with TbPercentOfTypeGooglePieOperation in TbExtendedGridView
First of all thanks for this great extension.
I am trying to implementing TbPercentOfTypeGooglePieOperation in
TbExtendedGridView and my environment is:
A table named 'User' with a field 'category' and having CRUD generated.
'extendedSummary' => array(
CException: The "label" of a type must be defined.
How to define the type for my case?
Please, use Forum post for questions regarding of its use:
Simply Amazing extension !! Thank you very much Antonio
this is great
looking forward to integrate it , yet another resource website for yii http://yiiapps.com am working these days
This extension uses: Highcharts JS so can it be used in commercial projects? I don't have a licence to Highcharts JS
For commercial projects, you'll need a license to use the Highcharts widgets. http://shop.highsoft.com/highcharts.html
What browser support is there? And if its different for different components/widgets, could you specify it in a chart?
Antonia? Oh man... you just changed my sex :)
About your question, the library was tested with Chrome, Safari, Firefox on Macosx and IE 7,8 and 9, Firefox, Chrome on Windows.
There has been some issues with TbJsonGridView on IE8 that are fixed on the new version (about to release it).
where can I see a list of changes?
A change log document will be provided in the github repository. Just didn't have time to include the changes.
For next 1.0.2 we are planning
Why not Foundation?
Hi CleverTech people!
You are a great support to the Yii community and your contribution is really impressive!
Just a question, knowing that Yii2 will use Foundation (AFAIK) framework, and not Bootstrap, why did you choose to invest so much into Yii and Bootstrap integration?
When Yii2 will be released, do you plan to do the same with Foundation, or re-integrate Bootstrap into Yii2, or just stick with Yii1.1 and everyting that you've been producing so far?
Just beeing curious...
This is a personal opinion:
When I was put in charge to create a library that will speed up the development process of the company I didn't make a research based on what the future of Yii is going to be but rather what was the needs and requirements to fulfill at the company at the present time.
If Yii 2.0 comes with Zurb, great, another good asset to it, as it is 'zii' or 'yii-bootstrap'. In case Zurb is there natively, would even make more sense to have an extension for bootstrap dont you agree?
YiiBooster and yii-bootstrap
just in case you missed the discussion over here.
@Antonio: Would the yii-bootstrap components in YiiBooster still run ... would it be an option for Chris to pull your changes into his repo?
@fleuryc: Where did you get the info that Yii2 will use Zurb Foundation? The last thing I've read is that Yii2 will be able to adopt any CSS framework.
@schmunk I guess here : http://www.yiiframework.com/forum/index.php/topic/28222-embedded-css-framework/ but I haven't been following the thread for quite some time, so I don't know about the latest updates. But yes, of course just as today you can use Bootstrap (via this extension for instance) or any other CSS framework (actually more than just CSS) with Yii 1.1 instead of the embedded BlueprintCSS, you will be able to use any framework you like with Yii 2(Yii guys, correct me if I'm wrong).
@Antonio : I totally agree. But what I fear, as it is the case right now with Yii1.1, is that there is much more effort put in the development of the CSS Framework extension (here Bootstrap) than in the embedded CSS Framework (OK, I agree Blueprint is a fail), since Yii team has not only this part to maintain and enhance, but the full Yii Framework (wich is actually the most important part). What I mean is : I am sure that you guys will do freaking awsome work for Bootstrap in Yii2, and I hope that as much work will be put into Zurb Foundation (if this framework doesn't collapse as Blueprint) because I think it is worth it.
(You will answer : "Well move your fat lazy ass and contribute to make the embedded CSS framework as awsome as my ext!" and I will answer : "I'll use your ext, allright..." hehe!)
Hope I'm clear enough...
Rows per page selector
Hi, thanks for this awesome work!
Would be possible for you to include at the header/top of grids a selector for the number of rows to display per page?
Thanks very much
@Junior - df9
About to include that (extra header row), nevertheless, the pagination should be handled on the server.
thanks for your answer.
I understand the situation, but I've one more question.
If I would use YiiBooster in a project where I was using yii-bootstrap, would the yii-bootstrap widgets work the same way even though their code was refactored? Because you've said you kept the naming.
They should as long as you were using the 'Tb' version not the 'Boot' one...
Extended grid filters not working!
Awesome extension, but Extended Grid filters are not working.
Please, post your issue with code attached to the Forum section.
great work Clevertech!!
Great if we implement this on YiiBooster
Load times with new release
I have updated to last release, 1.0.4
and page load times increase alot! more 2 seconds than before...
Also i want to suggest CKFinder as it have CKEditor.
I use alot both and they are usefull :)
Thanks for such nice extension
Please make sure you do not force copy the assets folder again and again...
Line 447 of Bootstrap component, this is the only place that occurs. After, it should not be an issue on the loading check YiiBooster site
Nevertheless, my efforts on the following version would be to simplify the rendering in order to speed up the library (dont worry will always maintain BC) and also to start writing the docs for the API.
Integrate Jasny Bootstrap
can we integrate this?
Great work, thx
Hello, Extension looks great and I was in a big hope to use it in my project. Unfortunately after installing it on top of original YiiBoostrap, I've noticed serious performance degradation. Some experimenting with switching two packages, shows that booster is about 2-3 seconds slower loading a simple CRUD page, generated by GII. Had to switch back .... Any plans to address this ???
Hello, new releases republish assets if you are in DEBUG mode,
If you set Yii to production mode it will solve timming problem
Other thing you can do: edit Bootstrap component and in line 458:
is what i do in every bootsrap update to my file, theres no need to wait in debug mode
Future release plans are:
.... hope I can get all those by next version
so to add more to the plan and still keep up to date with the updates of bootstrap is kind of hard... Any help will be highly appreciated!
Count me in! I won't have much time before X-mas though but then I'm all in. The list of upcoming widgets sounds crazy - in a good way - but it's lots of work for sure. Lets share where feasible. PM me if needed.
Please elaborate what jasny has and booster not; make a list like Antonio. I had taken a look at jasny some time ago and back then Chris' bootstrap had already been much further, so I'm wondering. Whatever is an useful addition to the existing features of booster should be considered. Never say never. At the end of the day it's all about booster and making it better.
Jasny icons is good. having lot of icons is nice too.
Adding an input mask widget seems to be very straight forward and useful sometimes. I can volunteer for that unless you (bryglen) wanna give it a try yourself.
Adding a set of font-based icons like Iconic or FontAwesome is an old discussion somehow. There's a few issues like compatibility (handheld devices may not render it flawlessly), licensing (well Iconic seems to be less restricted than FontAwesome), and implementation. If there wasn't any compatibility problem at all, font-based icons would clearly be the better choice. My guess is this request will go to the very bottom of the list as their is no real need and urgency to it. Glyphs are fine.
@Antonio: The booster demo pages are missing the license info for Glyphicons. Sorry...
@bryglen - FontAwesome
Btw, there's already a ticket about including FontAwesome. If you want quantity of icons you will like FontAwesome. Its set is larger than Iconic's.
I created this small component to make available Font Awesome.
Note: Instead of using "icon-xxx", you must use "icon-fa-xxx"
if I use following parametrs for TbExtendedGridView, I see in console
> id: [object Object], position:undefined
What is wrong?
Website Get Very Slow
We I use it, website loading become very slow.
@PeRoChAk "Website Get Very Slow"
If this is about your website's performance when using yii framework, check out the comment #10996 below. Most common questions have already been answered; here or in the forum. Do some research!
@Antonio: How about adding this (useful comment) to the main article? Maybe add another paragraph "Performance Issues?" or "How to improve performance in production mode?" right after "Important".
As usual, thanks.
Can I place '$this->renderPartial('_view')' inside data-content attribute, or just raw text, kindly advise?
How to implement the initSelection option for the select2 widget?
I want to fill the box with tags that are already related to an item. When an item belongs to dog and cat the box should be initially filled with dog and cat.
Thank you for your help!
At first I was a bit skeptical (why did we need another bootstrap implementation vs. Chris's) But goodness gracious!
In my personal project I manually assembled a lot of the compenents separately into widgets - this is amazing to have it consolidated into one extension. Fantastic work!
As an aside, several of the demo's on the http://yii-booster.clevertech.biz/extended-grid.html#extendedfilter filters are not working. Not all and not sure if the expected behavior does not include the proper filter settings, but just wanted you to be aware of it.
Looking forward to integrating this into the next release of my site.
Make sure you have the Select2 working asDropDownList, it should work. If you still have problems, drop a line at the Forum and I will help you out asap
Inline Login Form
I want to use the inline login form on my main layout, but I am not able to specify the model for it...
The error says: 'TbInput: Failed to initialize widget! Model is not set. '
Note: I am using the yii-user module.
Any help on how I can get this widget to work on the main layout?
Static hyperlink in the backend menu bar is misplaced
In the biolerplate backend application, in the main menuwhere you use bootstrap responsive. On the right side of the menu there is a hyperlink with the code below:
On normal screen it is fine. However, on smaller screen, such as mobile, tablet, minizmed window, it's misplace besides the drop down menu.
Force copy is unwarranted
Hi, great work on booster! The performance issue you describe is easily circumvented. Instead of hardcoding the debug constant in the call to
publish, let developers set it through
CAssetManager::$forceCopy. In fact, forcing a copy contradicts the case when
linkAssetsis desired, causing a thrown exception.
Thanks again for the great extension.
@pestaa, already added (next version)
Can anybody plz tell me what should I replace $model variable required by some widgets with?
I am trying to use a widget on the main layout but its not working because it can't find the model. I didn't do well passing the model in a right way to it.
Thanks in advance.
How to use The Less file to customize ur css
In the complete version of Yii booster that i downloaded, i discover that the less file is included. How can I make use of this file to customize my design.
copying error on windows 7
I am getting this copying error on windows 7 with yii booster:
is this simply related to permissions? I have no problem using bootstrap but I get the above error with booster and it goes away once you restart. but then goes back to the error after a while
how can I fix this?
TbSelect2 Loading Remote Data
Hello out there,
I am quite new to YiiBooster, so not everything is clear right now for me.
So forgive me if this is a stupid question.
I am trying to have a form with one drop down menu. Here TbSelect2 would become handy. The content of that dropdown would come from a separate table (foreign key used). As the table is way too big to load into a drop down, "TbSelect2 Loading Remote Data" would be good. Does anybody have experience with this? How do I manage it that in the end the foreign key is stored, and not the selected item?
Thanks for any hints on this one, not that trivial I fear...
Or is there another extension that can be used for this?
update to 1.0.6
The code has been tagged but I haven't seen any release information...Is it suggested to wait before updating?
Booster 1.0.6 disabled middle button mouse in Firefox
i have recently insert booster in my webapp and i found this problem:
middle button click links of mouse is disabled. (only on firefox)
I now dowgrade at booster 1.0.5 and i will see if it's a problem only of the last release.
have anyone find the same problem ?
Popovers issue on IE9 and older
Just a small notice, for those, who hasn't get to know this yet (I was surprised): Popovers doesn't work under Internet Explorer 9 and earlier.
Tested them to work like a charm under newest FF and Chrome, but no luck under IE.
I am not longer supporting the library (code wise, repository). Chris and I joined forces to improve Yii-bootstrap (Yiistrap) and I personally jumped onto my very own version of YiiBooster, which will be Yiiwheels. Yiiwheels will provide the widgets not included in Yiistrap and will be only one version of it (not like it was YiiBooster vs Yii-bootstrap)
Hope you all will enjoy the next libraries
there is new version https://github.com/clevertech/yiibooster
Hi @Antonio Ramirez,
What do you think is the best option for me to update / updagrade??
I am using YiiBoilerplate with YiiBooster version 1.0.4
YiiBooster version 1.1.0??
and what's the step to do it.
Sortable Rows in Extended Grid don't work. Ajax-request always send original positions.
where is old documentation?
Or How can I get it?
I've YiiBooster version 1.0.7
where i can get a toturial to install yiibooster?
How to install YiiBooster? Hm... It goes like this...
yiiboosterphrase, clicked it with right button in Chrome and snapped on
Search Google with 'yiibooster'menu item.
Installationtitle and... (I'm shocked) an installation guide.
The entire process took me an unbelievable THIRTY SECONDS to find out, how to install YiiBooster! Now, tell me. Are you that lazy or just to stupid to do the same yourself?
Sorry, for being rude, but I really, really don't like people that are to lazy to use Google or any other search engine to seek for an answer, that is just next door and only need few clicks to be discovered.
Error in Configuring Yiibooster
I've problem installing this extension. I've follow the step in (http://yiibooster.clevertech.biz/getting-started.html) but failed (error:memory exhausted). could someone help me?
Below is my config main :
Your configuration looks fine and simiar to mine. "Memory exhaust" suggests problem at core PHP or even your server. Check
httpd.conf(if you're using Apache) files at first. I don't think, this kind of error could be cause by YiiBooster itself.
Are there plans to upgrade to Bootstrap 3 in a future release?
Only, if you do it yourself! :]
I'm getting the feeling, that Chris / Antonio / Clevertech has got a little bit lost in the entire business. Yii Bootstrap, YiiBooster, YiiStrap, Yiiwheels, forking, rewriting, refactoring etc.
Officially, YiiBooster is dead, unsupported at all and discontinued. And Antonio, who has orginated it, is not working anymore at Cleavertech, where it all started. The same goes for Yii Bootstrap, not supported any more by Chris, who is now working (probably along with Antonio, who is now part of 2amigos) on YiiStrap. Quite twixed, don't you think? :]
Yiistrap is officially the only continued and supported version of Bootstrap for Yii. And I heard unconfirmed rumors, that it is supporting Bootstrap 3.
I stopped at YiiBooster in last version available here. It fulfills my current needs (quite limited). Beside, I don't have time to upgrade it to Bootstrap 3 myself, or even to migrate my app to Yiistrap.
YiiBooster is far from dead...
YiiBooster is far from dead (and issues are getting regularly updated) - check out the github repository to see recent development https://github.com/clevertech/YiiBooster/commits/master
I don't have much to comment on the fragmentation, other than that it is pretty disappointing (and extremely confusing) from a users' standpoint. If you do not need to use YiiBooster's extended set of widgets, you would probably be better off using the lighter YiiStrap.
Per this issue, they will start working on bs3 for YiiBooster before EOY:
Thank you for correcting me. It clearly seems, that I've been out of business for too long! :]
No, I started the entire Bootstrap+Yii journey seriously with YiiBooster (actually with Yii Bootstrap, but it lacked a lot, what YiiBooster has) and I'm willing to continue it. Especially, that it is still maintained, as you explained to me.
Ajax update yii booster Typeahead
I have a dropdown field of yiibootstrap typeahead for USA states,now what I want to do? when user select a State then in next typehead field auto update with cities of this state? How it is possible?
here i want to show cities typeahead dropdown. how it is possible?
I like yiibooster, good widget, thanks.
A guide for how to integrate yiibooster and Yiiwheels&yiistrap.
I like Yiibooster, it can work well both firefox and IE9/QQbroswer.
Problem with jquery-ui-no-conflict.min.js
jquery-ui-no-conflict.min.js is being included as the very last script and it overrides datepicker and other stuff. What to do?
Input texts doesn't work in some SO and Navigators
Take care with the input propertie "style"="padding-right:24px; by include
bootstrap-editable.min.js and bootstrap-editable.js files; this are punting
this attribute out css files.
These brings unexpected results; por example in some navigators; input box doesn't
show the input keypressed. The users think that is a error.
I've lost many hours, finding this error; delete the follows css directives in js files:
And solve the problem.
URL http://yii-booster.clevertech.biz/ is dead.
Access the new URL here: http://yiibooster.greenbubbleweb.it/site/index/
is support for yii2
I don't think so... nope!
YiiBooster as well as YiiWheels are 1.0 only.
You can search for Yii2 extensions like this....
For Yii2, you might wanna checkout Krajee's phenomenal widget library:
Krajee's homepage is more up-to-date though; install from here:
In addition, there are Antonio's very specialized Yii2 extensions:
"usuario" looks promising, for instance
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.