2017 © Pedro Peláez
 

yii2-extension yii2-outdated-browser

A Yii2 widget for outdated-browser

image

pashkinz92/yii2-outdated-browser

A Yii2 widget for outdated-browser

  • Wednesday, June 1, 2016
  • by Pashkinz92
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Yii2 outdated-browser

Usage of this plugin is really simple, just include it in your composer.json like so:, (*1)

php composer.phar require --prefer-dist pashkinz92/yii2-outdated-browser "*"

``` php = pashkinz92\outdatedBrowser\OutdatedBrowser::widget() ?>, (*2)


## Setting the parameters The outdated browser plugin accepts four parameters which can be provied as class vars like so: ```php <?= pashkinz92\outdatedBrowser\OutdatedBrowser::widget(['language' => 'ar', 'bgColor' => '#f25648']) ?>

Using this only for IE7

Using this only for IE7 can be very useful especially since Bootstrap 3.x supports IE8+, (*3)

Since Yii2, by default, only uses JQuery 2.2 you must actually add a line to your composer to make this work:, (*4)

``` bash "bower-asset/jquery": "~1.11@stable",, (*5)


And then when calling the plugin you simply put: ``` php <?= pashkinz92\outdatedBrowser\OutdatedBrowser::widget(['onlyIe7' => true]) ?>

The Versions

01/06 2016

dev-master

9999999-dev

A Yii2 widget for outdated-browser

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 browser outdated-browser

01/06 2016

1.0.0

1.0.0.0

A Yii2 widget for outdated-browser

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 browser outdated-browser