Yii 2.0: yii2-htmltemplateintegrator

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

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

Be the first person to leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet