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

  1. Requirements
  2. Properties
  3. Usage
  4. Resources

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

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

Requirements

Yii 2.0

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.

Resources

0 0
2 followers
0 downloads
Yii Version: 2.0
License: BSD-2-Clause
Category: Others
Developed by: serhatozles
Created on: Dec 8, 2014
Last updated: 3 years ago

Related Extensions