saidbakr/yii-jui-themes-list
最新稳定版本:1.8
Composer 安装命令:
composer require saidbakr/yii-jui-themes-list
包简介
Yii2 widget to list and apply yii-jui themes
README 文档
README
A yii2 widget that displays a list of jui themes and applying change to the selected theme then saving the choice by a mean of cookie.
##Installation From version 1.6 simply use composer in the root directory of your yii2 project as follows:
composer require saidbakr/yii-jui-themes-list=1.6
Till this time I could not able to maintain it via composer. Howver, the installation is very easy as follows:
- Make sure that your Yii2 project has yii2-jui extenstion.
- Create a directory named
saidbakrunder thevendordirectory of your Yii2 project. - Copy all the files in this respiratory to that folder
vendor\saidbakr.
##Usage Simply you can use it in your views to render a select options list for the themes as follows:
<?php
// Use keyword
use saidbakr\tools\JuiThemeSelectWidget;
?>
<?= JuiThemeSelectWidget::widget() ;?>
// Or supplying the options like the following
<?= JuiThemeSelectWidget::widget(['label' => 'Select New JUI Theme', 'themeListId' => 'fox']) ;?>
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2015-01-25