Yii2-bootstrap (The Twitter Bootstrap extension for the Yii framework)

Yii2-bootstrap (The Twitter Bootstrap extension for the Yii framework)

yiisoft/yii2-bootstrap

Семенов Александр Сергеевич

Установить

The Twitter Bootstrap extension for the Yii framework

Семенов Александр Сергеевич

The Twitter Bootstrap extension for the Yii framework

@разработчик решения

Время публикации: среда, 24 июня 2015 г. (3 года назад)

Добавил: Семенов Александр Сергеевич

Категория: Прочее

Актуальная версия: 2.1.x-dev
25 февр. 2018 г., 12:53:58 (8 месяцев назад)

Packagist: yiisoft/yii2-bootstrap

: https://github.com/yiisoft/yii2-bootstrap

: 5096465 (За месяц: 165957)

Тип: Компонент


Описание от «Семенов Александр Сергеевич»

The Twitter Bootstrap extension for the Yii framework

Twitter Bootstrap Extension for Yii 2


This is the Twitter Bootstrap extension for Yii framework 2.0. It encapsulates Bootstrap 3 components and plugins in terms of Yii widgets, and thus makes using Bootstrap components/plugins in Yii applications extremely easy.

For license information check the LICENSE-file.

Documentation is at docs/guide/README.md.

Latest Stable Version Total Downloads Build Status

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yiisoft/yii2-bootstrap

or add

"yiisoft/yii2-bootstrap": "~2.0.0"

to the require section of your composer.json file.

Usage

For example, the following single line of code in a view file would render a Bootstrap Progress plugin:

<?= yii\bootstrap\Progress::widget(['percent' => 60, 'label' => 'test']) ?>

Yii Framework 2 bootstrap extension Change Log

2.0.9 under development

  • no changes in this release.

2.0.8 February 16, 2018

  • Bug #126: Fixed yii\bootstrap\ToggleButtonGroup toggles dropdown for both buttons in case split is enabled (klimov-paul)
  • Bug #136: Allow overriding horizontalCssClasses when extending \yii\bootstrap\ActiveField (mikehaertl, klimov-paul)
  • Enh #118: Methods radioList() and checkboxList() overridden at yii\bootstrap\Html applying Bootstrap style (klimov-paul)
  • Enh #148: yii\bootstrap\Html::error() now automatically set ‘help-block help-block-error’ CSS class for generated tag (klimov-paul)
  • Enh #171: Add ability to use a brandImage with the navbar (razvanphp)
  • Enh #219: Add ability to use custom HTML in navbar-header (razvanphp)
  • Enh #227: Added yii\bootstrap\Collapse::$itemToggleOptions allowing setup custom collapse tag name and HTML options (mskayali, klimov-paul)

2.0.7 October 09, 2017

  • Bug #126: yii\bootstrap\ToggleButtonGroup was unable to work without model (makroxyz)
  • Bug #130: Fixed yii\bootstrap\Collapse to use pure numerical value on content property (meysampg)
  • Bug #137: Remove role="navbar" from yii\bootstrap\NavBar according to new aria specification (tino415)
  • Bug #143: Fixed yii\bootstrap\Nav to use tags according to bootstrap docs (PowerGamer1)
  • Bug #157: Active status of multilevel submenu items of the yii\bootstrap\Nav class is determined correctly now (PowerGamer1)
  • Bug #162: Fixed yii\bootstrap\Nav not taking explicit active into account when activateItems is off (samdark)
  • Bug #184: yii\bootstrap\ButtonDropdown widget did not use the correct JS plugin, was button, changed to dropdown (cebe, yukal)
  • Bug #196: Remove role="form" from yii\bootstrap\ActiveForm according to new aria specification (bastardijke)
  • Enh #64: Added simplified syntax for specifying Collapse widget $items (Faryshta, cebe)
  • Enh #107: Added yii\bootstrap\Collapse::$autoCloseItems to allow keeping multiple items open at the same time (cebe)
  • Enh #113: Allow URLs instead of content for Tab Widget Dropdown items (Okeanos)
  • Enh #131: Added tabContentOptions to set HTML attributes for ‘tab-content’ container in Tabs widget (AndrewKorpusov)
  • Enh #145: Added the ability to customize the class used to draw dropdowns in yii\bootstrap\Nav, yii\bootstrapButtonDropdown and yii\bootstrap\Tab widgets (PowerGamer1)
  • Enh #174: Added yii\bootstrap\Tabs::renderPanes() to allow extending the class to manipulate the content between the tabs and the content (thiagotalma)
  • Enh #187: Added yii\bootstrap\Tabs::activateFirstVisibleTab() to set the first visible tab as active if no active tab is set (nilsburg)
  • Enh #208: Added yii\bootstrap\Modal::$bodyOptions to allow add options to body part Modal (KoJIT2009)

2.0.6 March 17, 2016

  • Bug #68: Fixed yii\bootstrap\Nav handling empty items (freezy-sk)
  • Bug #81: Fixed yii\bootstrap\ActiveField::radioList() and yii\bootstrap\ActiveField::checkboxList() ignore itemOptions (mikehaertl)
  • Bug #98: Fixed yii\bootstrap\ButtonDropdown setting href attribute for non a tags (13nightevil)
  • Bug #124: Fixed yii\bootstrap\Tabs to use tag configuration option for item container (arturf)
  • Enh #45: Added support for Bootstrap checkbox/radio toggle buttons (RomeroMsk, klimov-paul)
  • Enh #92: Allow overriding data-toggle in yii\bootstrap\Tabs (machour)

2.0.5 September 23, 2015

  • Enh #15: Allowed overriding default Bootstrap CSS classes added by widgets (klimov-paul)
  • Enh #38: Added object support for content option in Collapse class (pana1990, ItsReddi)
  • Enh #40: Added visible option to yii\bootstrap\Tab widget items (klimov-paul)
  • Enh #41: Added submenuOptions support at yii\bootstrap\Dropdown (spikyjt, klimov-paul)
  • Enh #42: Added support for the glyphicons via yii\bootstrap\Html::icon() (klimov-paul)
  • Enh #43: Added support for the static form controls via yii\bootstrap\Html (klimov-paul)
  • Enh #44: Fixed yii\bootstrap\ButtonDropdown renders two buttons with the same id, if ‘split’ is enabled (klimov-paul)
  • Enh #50: Added dropDownOptions that is passed to yii\bootstrap\Nav dropdown items (fbau123)

2.0.4 May 10, 2015

  • Bug #18: label option ignored by yii\bootstrap\Activefield::checkbox() and yii\bootstrap\Activefield::radio() (mikehaertl)
  • Bug #5984: yii\bootstrap\Activefield::checkbox() caused browser to link label to the wrong input (cebe)
  • Bug #7894: Fixed incorrect URL config processing at yii\bootstrap\Nav::items if route element is not a first one (nkovacs, klimov-paul)
  • Bug #8231: Configuration of Alert, ButtonDropdown, Modal widget where not preserved when used multiple times (cebe, idMolotov)
  • Bug (CVE-2015-3397): Using Json::htmlEncode() for safer JSON data encoding in HTML code (samdark, Tomasz Tokarski)
  • Enh #29: Added support to list-groups for Collapse class (pana1990, skullcrasher)
  • Enh #2546: Added visible option to yii\bootstrap\ButtonGroup::$buttons (samdark, lukBarros)
  • Enh #7633: Added ActionColumn::$buttonOptions for defining HTML options to be added to the default buttons (cebe)
  • Enh: Added Nav::$dropDownCaret to allow customization of the dropdown caret symbol (cebe)
  • Enh: Added support for using external URLs for Tabs. (dynasource, qiangxue)

2.0.3 March 01, 2015

  • no changes in this release.

2.0.2 January 11, 2015

  • Bug #6672: yii\bootstrap\Dropdown should register client event handlers (qiangxue)

2.0.1 December 07, 2014

  • Bug #5570: yii\bootstrap\Tabs would throw an exception if content is not set for one of its items (RomeroMsk)
  • Bug #6150: yii\bootstrap\Tabs dropdown IDs were generated incorrectly (samdark)
  • Enh #4146: Added yii\bootstrap\ButtonDropdown::$containerOptions (samdark)
  • Enh #4181: Added yii\bootstrap\Modal::$headerOptions and yii\bootstrap\Modal::$footerOptions (tuxoff, samdark)
  • Enh #4450: Added yii\bootstrap\Nav::renderDropdown() (qiangxue)
  • Enh #5494: Added support for specifying a menu header as a configuration array in yii\bootstrap\Dropdown (hiltonjanfield, qiangxue)
  • Enh #5735: Added yii\bootstrap\Tabs::renderTabContent to support manually rendering tab contents (RomeroMsk)
  • Enh #5799: yii\bootstrap\ButtonGroup::buttons can take all options that are supported by yii\bootstrap\Button (aleksanderd)
  • Chg #5874: Upgraded Twitter Bootstrap to 3.3.x (samdark)

2.0.0 October 12, 2014

  • Bug #5323: Nested dropdown does not work for yii\bootstrap\DropDown (aryraditya)
  • Bug #5336: yii\bootstrap\DropDown should register bootstrap plugin asset (zelenin)
  • Chg #5231: Collapse items property uses label element instead of array key for headers (nkovacs)
  • Chg #5232: Collapse encodes headers by default (nkovacs)
  • Chg #5217: Tabs no longer requires content since empty tab could be used dynamically (damiandennis)

2.0.0-rc September 27, 2014

  • Bug #3292: Fixed dropdown widgets rendering incorrect HTML (it3rmit)
  • Bug #3740: Fixed duplicate error message when client validation is enabled (tadaszelvys)
  • Bug #3749: Fixed invalid plugin registration and ensure clickable links in dropdown (kartik-v)
  • Enh #4024: Added ability to yii\bootstrap\Tabs to encode each Tabs::items['label'] separately (creocoder, umneeq)
  • Enh #4120: Added ability for each item to choose it’s encoding option in Dropdown and Nav (Alex-Code)
  • Enh #4363: Added showIndicators property to make Carousel indicators optional (sdkiller)
  • Chg #3036: Upgraded Twitter Bootstrap to 3.1.x (qiangxue)
  • Chg #4595: The following properties are now taking false instead of null for “don’t use” case (samdark)
    • yii\bootstrap\NavBar::$brandLabel.
    • yii\bootstrap\NavBar::$brandUrl.
    • yii\bootstrap\Modal::$closeButton.
    • yii\bootstrap\Modal::$toggleButton.
    • yii\bootstrap\Alert::$closeButton.

2.0.0-beta April 13, 2014

  • Bug #2361: yii\bootstrap\NavBar::brandUrl should default to the home URL of application (qiangxue)
  • Enh #1474: Added option to make NavBar 100% width (cebe)
  • Enh #1552: It is now possible to use multiple bootstrap NavBar in a single page (Alex-Code)
  • Enh #1553: Only add navbar-default class to NavBar when no other class is specified (cebe)
  • Enh #1562: Added yii\bootstrap\Tabs::linkOptions (kartik-v)
  • Enh #1601: Added support for tagName and encodeLabel parameters in ButtonDropdown (omnilight)
  • Enh #1881: Improved yii\bootstrap\NavBar with containerOptions, innerContainerOptions and renderInnerContainer (creocoder)
  • Enh #2425: Tabs widget now selects first tab if no active tab is specified (samdark)
  • Enh #2634: Submenus will now be checked for being active (Alex-Code)
  • Enh #2643: Add size attribute to Modal (tof06)
  • Chg #1459: Update Collapse to use bootstrap 3 classes (tonydspaniard)
  • Chg #1820: Update Progress to use bootstrap 3 markup (samdark)
  • New #3029: Added yii\bootstrap\ActiveForm and yii\bootstrap\ActiveField (mikehaertl)

2.0.0-alpha, December 1, 2013

  • Initial release.

Все комментарии (0)
Нет комментариев

dev-master — 04 мая 2018 г., 9:55:14 (6 месяцев назад)

2.1.x-dev — 25 февр. 2018 г., 12:53:58 (8 месяцев назад)

2.0.8 — 16 февр. 2018 г., 13:41:52 (9 месяцев назад)

2.0.7 — 09 окт. 2017 г., 22:48:22 (год назад)

2.0.6 — 17 марта 2016 г., 6:29:28 (2 года назад)

2.0.5 — 23 сент. 2015 г., 20:48:24 (3 года назад)

2.0.4 — 11 мая 2015 г., 1:08:17 (3 года назад)

2.0.3 — 01 марта 2015 г., 9:22:44 (3 года назад)

2.0.2 — 11 янв. 2015 г., 6:57:55 (3 года назад)

2.0.1 — 07 дек. 2014 г., 19:42:41 (3 года назад)

2.0.0 — 12 окт. 2014 г., 21:09:06 (4 года назад)

2.0.0-rc — 28 сент. 2014 г., 5:59:54 (4 года назад)

2.0.0-beta — 14 апр. 2014 г., 1:58:59 (4 года назад)

2.0.0-alpha — 25 нояб. 2013 г., 18:33:59 (4 года назад)

Стандартная установка:

Добавьте composer.json файл вашего проекта:

"yiisoft/yii2-bootstrap": "*"

Запустите обновление зависимостей


Читать про обнолвение SkeekS CMS