定制 saidbakr/yii-jui-themes-list 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. Make sure that your Yii2 project has yii2-jui extenstion.
  2. Create a directory named saidbakr under the vendor directory of your Yii2 project.
  3. 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2015-01-25