P
P
Petr Volkhanov2014-04-25 10:08:54
Yii
Petr Volkhanov, 2014-04-25 10:08:54

How to make the admin panel a Yii module?

Hello everyone, I started to make a site on the PHP Yii framework, before that I made several business card sites on Yii, but there were no serious projects (the site I'm working on now is the first cool project on Yii).
The question is - How to make the admin panel a Yii module? I created an admin module using Gii and added an entry for the new module to the config. But what to do next, I do not understand? Who can advise?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
Y
Yuri Morozov, 2014-04-25
@eprivalov

Then write controllers and views for admin work with the database and study the topic of access control.

S
skinner, 2014-04-25
@skinner

Look at the Gii module (it is part of the framework), you can do it in the likeness.

M
mosario, 2014-05-05
@mosario

Imagine, the user has to send data, you create two CRUD one of them in the module. Where for the user, you delete everything related to the admin, in the admin module you display this data for editing and deny access to guests or ordinary users.
This is so, for a start, and then the matter itself will go.

D
des1roer, 2015-02-19
@des1roer

and where are the links to blogs with a detailed study of the topic?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question