I don’t know if this is the right area to write this in but I will anyway.
I want to do nested Grid’s and I was going to use Yii-Booster and actually started to but then saw that this is the new and improved version thereof. So I hop over to try and notice that there are bits and pieces.
So can I
use Yiistrap to do this and if so how,
do I need to use Yiiwheels? But for Yiiwheels there is only a github with very little info
I have a couple of questions regarding TbModal widget which is currently present in both Yiistrap and Yiiwheels:
Which one I should use? What is the difference between them?
How I can place another widget in the body of modal using Yiistrap or Yiiwheels? Previously I’ve used YiiBooster and it allowed to place anything in between of beginWidget and endWidget but in these new widgets I’m supposed to fill in ‘header’, ‘content’ and ‘footer’ attributes instead so it is not clear to me how I can place my custom php code (e.g. widgets, renderpartial etc.) in there?
I think this is a YiiWheels issue, and not YiiStrap. I had the same problem and after I declared the component yiiwheels in the maon configuration file, everything worked fine.
I thought that RegisterAllScripts will register everything and therefor everything should work as it should … Perhaps the documentation can be more clear on these matters.
here is what I did. I don’t think that’s good practise because it modifies the yiistrap extension folder (which is not good).
Anyway assuming yiistrap is installed in extensions/bootstrap :
[list=1][]duplicate the folder extensions/bootstrap/assets/css and rename it css.original (or backup)[]download bootstrap.css and bootstrap.min.css from bootswatch and copy them into extensions/bootstrap/assets/css[]remove all files from webapp/assets[]refresh page[/list]
I am lost with CSS issues when using YiiStrap & Wheels, btw I had exactly the same problem with Yii-Booster.
The main problem is that the textields are too narrow and some widgets are not displayed properly. I read on stackexchange that Yii CSS is overriding Yiistrap CSS. So I removed the CSS references in layout/main.php and things got a bit better. However still the textfields are too narrow in width and height (see picture, one from Mozilla and the other from IE). If I check the same page on IE9, the textfields are soo narrow that you cannot read the text any longer.
My layout/main.php starts as follows:
<?php /* @var $this Controller */ ?>
<?php Yii::app()->bootstrap->registerYiistrapCss(); ?>
<?php Yii::app()->bootstrap->register(); ?>
<?php Yii::app()->bootstrap->registerAllScripts(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
...
...
I also tried only using ->register() and other variations, however nothing seems to resolve my issue.