Wiki

Articles tagged with "bootstrap", sorted by date (updated)X
Displaying 1-10 of 16 result(s).

Escape from Default's Yii2 Delete Confirm Box

Updated 6 months ago by CozumelHow-tos8 comments – viewed 18,893 times – ( +9 / -1 ) – version 2.0
If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify certain javascript behaviors like for example, its delete confirmation dialog box.

Handling Bootstrap active tabs in Yii via URL

Updated 6 months ago by JamesBarnsleyHow-tos17 comments – viewed 25,056 times – ( +7 ) – version 1.1
I (www.jamesbarnsley.com) found that when using the Yii Bootstrap tabs component you will sometimes want to direct the user to a specific tab and not necessarily the first tab. Yii Bootstrap already provides the "active" variable so you can define whether the tab is the active tab or not in PHP. I generally find though that a PHP solution to this problem is rather cumbersome as every tab component will need the PHP code inserted or you will have to extend the tab component somehow to do it.

Render Form in popup via AJAX (Create and Update) with ajax validation & Also load any page via ajax Yii 2.0 (2.3)

Updated about a year ago by skwordenHow-tos8 comments – viewed 72,110 times – ( +25 ) – version 2.0
There are a few issues with the other solutions I originally used that I found from other wikis. I address the issues I had in this much simpler and shorter way. I am also going to explain what is going into way more detail than others to help people understand what's going on.

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

Updated about a year ago by robregonmHow-tos2 comments – viewed 8,885 times – ( +10 ) – version 2.0
By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

Activating Bootstrap 3 Tooltips & Popover for your Yii Site.

Updated about a year ago by Kartik VTips6 comments – viewed 31,377 times – ( +39 / -4 ) – version 2.0
With Bootstrap 3 and its inbuilt support in Yii Framework 2.0, you would see quite some new ways of creating HTML markup and styling your site. However, with version 3 of Bootstrap, tooltips and popover are not activated by default on your elements. Assuming you have activated the Bootstrap 3 tooltip plugin - how do you easily enable display of tooltips/popovers across your site?

Add Beautiful Radio/Checkbox Buttons To Grid

Updated about a year ago by Rohit SutharHow-tos1 comment – viewed 22,237 times – ( +10 / -2 ) – version 1.1
This is a tutorial on how to create slick looking status buttons to update a model's status via a grid. Note** This tutorial uses Yii Bootstrap for styling.

Nested inline active fields inside Bootstrap horizontal forms

Updated 2 years ago by Kartik VHow-tos2 comments – viewed 30,470 times – ( +42 ) – version 2.0
Are you using the Bootstrap 3 form styles with Yii 2 Active Forms? Have you faced problems in displaying complex layouts which needs you to display multiple inline form fields in a single row, within bootstrap horizontal forms. Then read on.

Managing different Bootstrap form layouts with yii2-field-range extension.

Updated 2 years ago by Kartik VHow-tos0 comments – viewed 13,757 times – ( +36 ) – version 2.0
This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that the yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Updated 2 years ago by Kartik VHow-tos2 comments – viewed 26,229 times – ( +38 / -4 ) – version 2.0
In Yii 2.0, the yii widgets that use Twitter Bootstrap CSS & JS directly, are part of the yii2-bootstrap extension, starting with yii/bootstrap namespace. For customizing bootstrap extension specific widget assets, you could configure your own assets (CSS/JS) using the new Yii Asset Manager in your Yii Config file. Something like:

Yiistrap TbHtml::navbarSearchForm

Updated 2 years ago by CeBeTips0 comments – viewed 8,561 times – version 1.1
Hi all,