I
I
Igor Vasiliev2018-02-11 00:30:25
Yii
Igor Vasiliev, 2018-02-11 00:30:25

How to create your own template on Gii?

Hello.
--
History: Everyone who uses Yii2 knows that there is a gii code generator that helps with the routine creation of the same type of tasks: generating forms, generating modules, controllers, and so on.
As shown in the picture below:
5a7f62148e1af523761803.png
In the dedicated space, you can specify your template so that you do not constantly redesign and layout your personal application. I did not find documentation on the formation of my own templates. It takes a lot of time to fix templates. I can make my template based on the default so that it does not affect performance, but here lies the root of the evil.
After updating yii, there is a risk that all settings will go to hell in the middle of nowhere, then look for fistulas from old projects and backups of your work, and re-integrate. And then suddenly incompatibility, suddenly vulnerability, flattery in a box without a flashlight, somehow scary. Hence the question:
Question: Where is the manual, information, about the development of their templates for gii ???
This is very important, who dealt with this kind of issues, please respond.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-02-11
@Isolution666

Goodnight.
Probably very badly searched...
https://github.com/yiisoft/yii2-gii/blob/master/do...
https://www.youtube.com/watch?v=fvWEqx2HWsE

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question