serhatozles/yii2-htmltemplateintegrator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

serhatozles/yii2-htmltemplateintegrator

最新稳定版本:v1.1

Composer 安装命令:

composer require serhatozles/yii2-htmltemplateintegrator

包简介

HTML Template Integrator

README 文档

README

PayPal Donate Latest Stable Version Total Downloads Latest Unstable Version License

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist serhatozles/yii2-htmltemplateintegrator "*"

or add

"serhatozles/yii2-htmltemplateintegrator": "*"

to the require section of your composer.json file.

What is This Extension doing?

This extension can help you for your html template integration to Yii2.

After one click, Your asset and layout files will be ready.

Properties

  1. Assets
  2. Layouts
  3. Controller
  4. Actions

It's making all of them.

Usage

Firstly, you have to put your template folder into @app/template.

And you add into @app/config/main.php

'controllerMap' => [
    'integrator' => [
        'class' => 'serhatozles\themeintegrator\Controller',
    ]
],

Example:

/frontend
/frontend/template
/frontend/template/yourtemplate
/frontend/template/yourtemplate/css
/frontend/template/yourtemplate/image
/frontend/template/yourtemplate/...
/frontend/template/yourtemplate/index.html
/frontend/template/yourtemplate/...

After, Open to web "integrator/define"

That's it.

Screenshot:

Screenshot Screenshot Screenshot Screenshot Screenshot

See

统计信息

  • 总下载量: 70
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 4
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2014-12-02