Yii 1.1: yiibooster

Make it gorgeous. Do it fast.
143 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

#16547 report it
bandpay at 2014/03/05 05:23am
Problem with jquery-ui-no-conflict.min.js

Hi jquery-ui-no-conflict.min.js is being included as the very last script and it overrides datepicker and other stuff. What to do?

#16363 report it
Szigya at 2014/02/14 10:53am
Using with themes

This extension becomes a shitmountain when one is trying to use with a modified bootstrap css as a theme. I've spent too much time with this.

#15935 report it
Scott_Huang at 2013/12/31 05:06am
I like yiibooster, good widget, thanks.

A guide for how to integrate yiibooster and Yiiwheels&yiistrap.

http://www.yiiframework.com/forum/index.php/topic/50265-a-guide-for-how-to-integrate-yiibooster-and-yiistrapyiiwheels

I like Yiibooster, it can work well both firefox and IE9/QQbroswer.

#15782 report it
Muhammad Shahzad at 2013/12/16 04:18pm
Ajax update yii booster Typeahead

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

my code:

$this->widget(
    'bootstrap.widgets.TbSelect2',
    array(
    'model'     => $modelRenterStatus,  // INSTANCE OF MODEL 'User'
    'attribute' => 'current_state', // ATTRIBUTE
    'name' => 'current_state',
        'data'=>$modelRenterStatus->getUSStates(),
        'htmlOptions' => array(
            'style'=>'width:220px;height:60px;',
            'placeholder' => '[CurrentState]',
             'id' => 's2id_RenterStatus_current_state'
        ),
    )
);

here i want to show cities typeahead dropdown. how it is possible?

#15780 report it
Trejder at 2013/12/16 01:38pm
@PrplHaz4

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.

#15775 report it
PrplHaz4 at 2013/12/16 10:35am
YiiBooster is far from dead...

@trejder 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.

@schmunk Per this issue, they will start working on bs3 for YiiBooster before EOY: https://github.com/clevertech/YiiBooster/issues/705

#15773 report it
Trejder at 2013/12/16 07:51am
@schmunk

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.

#15772 report it
schmunk at 2013/12/16 07:20am
Bootstrap 3

Are there plans to upgrade to Bootstrap 3 in a future release?

#15770 report it
Trejder at 2013/12/16 02:32am
@i1111991

Your configuration looks fine and simiar to mine. "Memory exhaust" suggests problem at core PHP or even your server. Check php.ini and httpd.conf (if you're using Apache) files at first. I don't think, this kind of error could be cause by YiiBooster itself.

#15761 report it
i1111991 at 2013/12/15 08:09am
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 :

'preload'=>array('log','bootstrap'),
        'modules'=>array(
                 ...
                'bootstrap' => array(
                    'class'=>'ext.yiibooster.components.Bootstrap'
                ),

Thanks.

#15295 report it
Trejder at 2013/10/24 01:56pm
@theHunter

How to install YiiBooster? Hm... It goes like this...

Longer version:

  1. I got email notification, that you've posted a comment: "How to install YiiBooster".
  2. I have selected yiibooster phrase, clicked it with right button in Chrome and snapped on Search Google with 'yiibooster' menu item.
  3. I was redirected to... Google (surprising, isn't it?).
  4. FIRST search result was YiiBooster page at Cleavertech -- the inventors of YiiBooster.
  5. I have clicked on second button in top menu, labelled Get started
  6. A page was opened and first thing that was written there was Installation title and... (I'm shocked) an installation guide.

Shorter version:

  1. Click here.

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.

#15294 report it
theHunter at 2013/10/24 10:52am
install

Hi,

where i can get a toturial to install yiibooster?

Thanks.

#15122 report it
markux at 2013/10/09 09:17am
old documentation?

where is old documentation? Or How can I get it? I've YiiBooster version 1.0.7

thanks

#14871 report it
Sergey Poyarkov at 2013/09/17 05:28am
Sortable Rows

Sortable Rows in Extended Grid don't work. Ajax-request always send original positions.

version 1.0.7

#14076 report it
leo4all at 2013/07/17 12:00pm
Update

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

Yiiwheels?? YiiBooster version 1.1.0??

and what's the step to do it.

best regards.

#13342 report it
salsero at 2013/05/23 05:45am
yiibooster 1.0.7

there is new version https://github.com/clevertech/yiibooster

#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?

Leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet