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
Bootstrap 3
Any thoughts on adoption of Bootstrap 3 when it is released?
Wow
I already use and so much satisfied by both yii-bootstrap and yii-booster, and then you came with this new masterpiece.
Great job guys! May God Bless be with you!
@JustinV
That is still undecided, but I think we will make a separate branch for Bootstrap 3.
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?
@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.
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
@fahadakram
Upgrade to the latest version and that should fix the error.
BS3
Any date for BS3 support? Thanks!
@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).
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
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!
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'), ),
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?
@Shahzad Thathal
Use a different layout for the module and call one or more of the register methods in TbApi there.
TbGridView
I'm using TbGridView, but the row search(filter) does not work! How do I activate this feature?
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!!!
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.
Great Job!
Thanks for hard work... :)
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?
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.
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.
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);
How to install yiistrap-widgets?
Anyone how to install yiistrap-widgets?
https://github.com/Crisu83/yiistrap-widgets
Greate work!
Thanks for sharing.
upgrading to bootstrap 3.x.x
Is plain for upgrading to bootstrap 3.x.x
Please Update The Documentation
Please update the documentation in official site. How to configure v1.2.0?
Please be more clear in documentation. there are no enough example or help to use property of classes.
We like the YiiStrap (and his brother YiiWheels). But dozens of questions still remain unanswered.
Totally lost here
Can someone please make me understand this.
YiiBooster is something that Antonio did? Or is something that Clevertech did? Are they the same, what about 2Amigos?
Is this http://yiibooster.clevertech.biz/ a merge of all?
But here it talks about YiiBooster as a predecessor?
https://github.com/crisu83/yiistrap
Can someone please make me understand this?
@mem ... a crash course in yii-bootstrap history
Background info: I think I started following the original bootstrap extension since day 1 or 2 and after a year long hiatus I came back here (Yii) a few months ago just to find out everything had changed in the meantime. Having said this I can see how people like you, who are new to Yii can be quite confused by the many bootstrap extensions. Long story short here's the history of Yii-Bootstrap... and Chris83 and Antonio Ramirez (guys, let me know if the following is missing any details):
09/2011 - Yii-Bootstrap extension by Chris83 based on the original bootstrap. Note: There is another extension from another guy that is actually named "Yii-Bootstrap" but it's really not that good. Well, Chris' stuff is way superior!
10/2012 - YiiBooster by Antonio Ramirez. At that time Antonio was working for Clevertech. At some point in 2013, I think, Antonio left Clevertech and the company continued taking care of YiiBooster (and YiiBoilerplate, a structure to support bigger projects).
06/2013 - YiiStrap by Chris83 & Antonio R. and this one is "a complete rewrite" of the original Bootstrap extension by Chris83 and Antonio R.
07/2013 - YiiWheels by Antonio R. and others. This one only adds additional js functions and libraries etc. to YiiStrap. It requires YiiStrap.
xx/2014 - There's a version of YiiStrap with Bootstrap 3+ in the making.
Thanks to Chris83, Antonio R., and everybody else who contributes to these extensions in one way or another to make our lives so much easier. Keep up the good work! :)
Last not lease, 2amigos is the company Antonio is working for at the moment. Not sure how many guys from Clevertech followed Antonio over to 2amigos? Anyways, 2amigos also have their fingers on YiiFoundation (even more responsive css) and yiinitializr (think YiiBoilerplate 2.0).
Thank you
Really. It's not that I wish to put my nose on things, but, indeed, I need to figure out, for my company sake, what's going on, if things are stable, if they aren't stable, if we can rely on them, or not and so on...
Thanks, again, for taking the time to resume the all thing.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.