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.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.