yiibooster

Make it gorgeous. Do it fast.
136 followers

Introduction

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

Overview

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:

  • Buttons
  • Button groups
  • Button dropdowns
  • Boxes
  • Navigational tabs, pills, and lists
  • Navbar
  • Breadcrumbs
  • Labels and badges
  • Typographic components
  • Thumbnails
  • Alerts
  • Progress bars
  • Tables and Grids
  • Forms
  • 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
  • Modals
  • Tabs
  • Tooltips
  • Extended Tooltips
  • Popovers
  • Collapse
  • Carousel
  • Typeahead
  • and many more...

For more information on how to get started with the library plus tons of examples per widget, please visit YiiBooster Site.

Important

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.

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:
      • TbSelect2
      • TbMarkDownEditorJs (thanks @kazoo)
      • TbCKEditor (v.4)
      • TbFileUpload
    • Enhancements
      • 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

====

Clevertech
well-built beautifully designed web applications
www.clevertech.biz

Total 20 comments

#13103 report it
Antonio Ramirez at 2013/05/05 04:08am
@w00tw00t111

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

#12902 report it
Trejder at 2013/04/19 06:41am
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.

#12901 report it
salsero at 2013/04/19 06:38am
Booster 1.0.6 disabled middle button mouse in Firefox

Hi all, 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 ?

best regards!

#12670 report it
PrplHaz4 at 2013/04/04 11:18am
Yii-Booster 1.0.6

The code has been tagged but I haven't seen any release information...Is it suggested to wait before updating?

#12599 report it
fad at 2013/03/31 01:36pm
updare

update to 1.0.6

#12538 report it
gb5256 at 2013/03/27 05:42pm
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?

gb5256

#12089 report it
Vicer at 2013/02/26 10:28pm
copying error on windows 7

I am getting this copying error on windows 7 with yii booster: http://www.yiiframework.com/forum/index.php/topic/40697-yii-framework-copy-error-failed-to-open-stream-permission-denied/

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?

#12088 report it
Vicosoft at 2013/02/26 06:57pm
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.

#11811 report it
mbala at 2013/02/05 05:52am
Thanks

great

#11745 report it
beesho at 2013/01/31 08:48am
$model

Hello, 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.

#11730 report it
fad at 2013/01/30 06:50am
forceCopy

@pestaa, already added (next version)

#11729 report it
pestaa at 2013/01/30 06:26am
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 linkAssets is desired, causing a thrown exception.

Thanks again for the great extension.

#11727 report it
Hesam at 2013/01/29 05:54pm
Static hyperlink in the backend menu bar is misplaced

Hi Antonio, 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:

(Yii::app()->user->isGuest) ? "<p class='navbar-text pull-right'><a href=

On normal screen it is fine. However, on smaller screen, such as mobile, tablet, minizmed window, it's misplace besides the drop down menu.

#11672 report it
beesho at 2013/01/25 09:51pm
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?

<?php $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id'=>'inlineForm',
    'type'=>'inline',
    'htmlOptions'=>array('class'=>'well'),
)); ?>
 
<?php echo $form->textFieldRow($model, 'textField', array('class'=>'input-small')); ?>
<?php echo $form->passwordFieldRow($model, 'password', array('class'=>'input-small')); ?>
<?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'label'=>'Log in')); ?>
 
<?php $this->endWidget(); ?>
#11638 report it
Antonio Ramirez at 2013/01/24 07:13am
@initSelection

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

#11532 report it
w00tw00t111 at 2013/01/18 03:24pm
A Believer!

@Antonio

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.

#11473 report it
bas_vdl at 2013/01/15 03:00pm
initSelection

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!

#11280 report it
basem at 2013/01/03 08:09am
Popover Issue

Hi,

Can I place '$this->renderPartial('_view')' inside data-content attribute, or just raw text, kindly advise?

Regards, Basem

#11216 report it
Antonio Ramirez at 2012/12/28 02:47am
@Don Felipe

As usual, thanks.

#11209 report it
Don Felipe at 2012/12/27 11:20pm
@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".

Leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet