Answer the question
In order to leave comments, you need to log in
How does yii feel about such documentation?
See Documentation
Gii is provided in Yii as a module. You can enable Gii by configuring it in the property. Depending on how you created the application, you can make sure that the following code is present in the config/web.php config file,
I don't have a web.php folder and 3 config folders, a common frontend and backend, how should I know in which one to create? where should I guess what to do if there is no base folder?
Either I'm inexperienced or not mine at all, or these are holes in the documentation, please tell me
Answer the question
In order to leave comments, you need to log in
There are 2 application templates: basic and advanced. There are three folders in advanced: backend (like an admin panel, if I remember correctly), frontend (website), console (console application), each of them has configs. In basic, the config is in the folder basic/config/web.php
Everything is fine in the documentation, you just need to read more carefully
there are two standard templates:
- basic - the template of the simplest project, where the whole project is ONE WHOLE application
- advanced - a more advanced template, where the project itself is divided into TWO APPLICATIONS - the admin panel (backend) and the user part (frontend). Each of these applications has its own configuration.
The documentation describes the connection of the module to the application as a whole, shows the principle itself, because templates can be different (for example, made by third-party developers).
Soon there will be questions like "I downloaded the framework, but it does not do what I want. The developers are mediocre ignoramuses"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question