yiistrap

Twitter Bootstrap 2.3.2 for Yii
79 followers

Latest Stable Version Build Status

Yiistrap is the new version of the Yii-Bootstrap extension developed by Christoffer Niska (Yii-Bootstrap) and Antonio Ramirez (YiiBooster). Yiistrap is a complete rewrite of the popular Yii-Bootstrap extension and its goal is to provide a solid tool for including Twitter Bootstrap in your Yii projects. It's faster, easier to use and more extensive than it's predecessor and it can also be easily extended.

Links

Setup

Installation instructions can be found here: Getting started with Yiistrap

Changes

1.1.0 (September 1, 2013)

  • Add new functionality to TbWidget
  • Fix unit tests

1.0.0 (August 29, 2013)

  • Add support for custom labels in control groups

1.0.0 RC2 (August 23, 2013)

  • Fix a lot of minor issues

1.0.0 RC1 (July 29, 2013)

  • Added unit tests
  • Added an array helper
  • Refactor the html helper a lot
  • Fix quite many smaller bugs

1.0.0 BETA (June 15, 2013)

  • Initial BETA release

Total 20 comments

#16879 report it
Edgar Kuskov at 2014/04/07 12:48pm
ToolTip jump TOP

Hello guys,

to fix this issue, that click on tooltip flies to the top change the line 4083 in TbHtml.php to:

return self::tooltipPopover($label, 'javascript://', $title, $htmlOptions);
#16763 report it
Néstor Acevedo at 2014/03/25 07:48pm
a bug

I've just checked a bug with urlManager:

when is dissabled works fine, but when is enabled, in the main page works fine but changing to another url many assets gets with error 500. in the forum I will post exactly what happens.

same was happening with your previous extension.

#16563 report it
jcagentzero at 2014/03/05 08:49pm
Is this extension still supported?

We are using yii bootstrap but saw the limited widgets that it has and saw the yiibooster but it seems it was discontinued.

#16093 report it
prPixabit at 2014/01/19 02:01pm
Submit-URL & LESS

First of all: thank you for bringing bootstrap to yii! Your work is very appreciated;

Secondly, I would like to bring up a question: how do I define the submit-URL for the TbHtml::submitButton? I tried 'url' => and 'submitUrl', both inside the options-array as well as directly in the button - without getting it to work. Can someone throw a hint? Cudos in advance!

I would also be interested in using bootstrap.less; I guess I would have to register the bootstrap.less-file from assets/less instead of bootstrap.css in the TbApi?

#16012 report it
turi at 2014/01/09 05:54am
Great Job!

Thanks for hard work... :)

#15932 report it
Scott_Huang at 2013/12/31 04:50am
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

It is quite easy to integrate actually. Why @Chris83 not modify source code directly??

Question to @Chris83: Yiistrap can work well in firefox, however, cannot work fine in IE9/QQbrowser and so on. Can you help to fix it? Btw, Yiibooster can work well both in firefox/IE9/QQbrowser.

#14987 report it
Shahzad Thathal at 2013/09/26 06:45am
How to use yiistrap Only Use in Module

Hello,

I need to use yiistrap only in admin module, how it is possible? And also I want to keep client side css , designs as it is before!!!

#14975 report it
Ednei at 2013/09/25 11:42am
TbGridView

I'm using TbGridView, but the row search(filter) does not work! How do I activate this feature?

#14925 report it
Chris83 at 2013/09/22 07:06am
@Shahzad Thathal

Use a different layout for the module and call one or more of the register methods in TbApi there.

#14924 report it
Shahzad Thathal at 2013/09/22 03:30am
Yiistrap using in Module

How I can use Yiistrap only in one module and avoid to css affects on my other css files and admin area?

#14805 report it
Xavier John at 2013/09/11 03:25am
To run Gii bootstrap

Configure config/main.php as

'gii' => array(
            'class' => 'system.gii.GiiModule',
            'generatorPaths' => array('bootstrap.gii'),
            'password' => 'MySecret',
            // If removed, Gii defaults to localhost only. Edit carefully to taste.
            'ipFilters' => array('127.0.0.1', '::1'),
        ),
#14693 report it
cualit at 2013/09/03 08:15pm
Popover placement is wrong: always right

Popover placement is wrong, they always display right despite of the placement set. By the way, thanks for the awsome Extension!

#14688 report it
schmunk at 2013/09/03 01:23pm
Bootstrap 2 to 3 Upgrade Script

Hi Chris,

just found bootstrap-3-upgrade Especially: server.js

I don't volunteer ;) ... but that should not be too much work.

Best regards, schmunk

#14685 report it
Chris83 at 2013/09/03 10:30am
@Jorgee

Yiistrap won't be upgraded to use Bootstrap 3 because that would require almost a complete rewrite. Also, there are almost no new features in Bootstrap 3 (except the grid which I'm not too fond of).

#14673 report it
Jorgee at 2013/09/02 02:36pm
BS3

Any date for BS3 support? Thanks!

#14658 report it
Chris83 at 2013/09/01 06:51pm
@fahadakram

Upgrade to the latest version and that should fix the error.

#14536 report it
fahadakram at 2013/08/21 06:50am
Bootstrap and its behaviors do not have a method or closure named "registerEvents".

include this line <?php Yii::app()->bootstrap->register(); ?> and getting above error , help me to solve this issue me using boilerplate and make all changes required in common.config.main.php file

#14491 report it
Chris83 at 2013/08/17 06:10am
@Lloyd

We didn't really consider this when we developed Yiistrap but I guess that you could define different aliases instead of using "bootstrap" as the alias for both.

#14241 report it
Lloyd at 2013/07/29 03:32pm
can Yiistrap and Yiibooster co exist

Hi,

I would like to convert from yiibooster to yiistrap with yiiwheels.

I would like to do this progressively, and once I have replaced all my instances of the yiibooster widgets with yiistrap /yiiwheels, remove the yiibooster extension.

Can I have both Yiibooster and yiistrap /yiiwheels installed at the same time, and if so, how do I need to change my existing config file to get this to work?

#13709 report it
Chris83 at 2013/06/19 02:48am
@JustinV

That is still undecided, but I think we will make a separate branch for Bootstrap 3.

Leave a comment

Please to leave your comment.

Create extension