Answer the question
In order to leave comments, you need to log in
What is the best way to make an admin panel on landing-page?
Hi colleagues) I'm wondering how best to make an admin panel.
There is a Landing-page which has grown into a small site on yii2. I want to make the site owner something like an admin, I usually did it with a module, but then an idea came up, but what if I make a couple of
If(user->can('admin')) buttons right on the site or even just check for guest, and based on results will display a button add style, or add news. To what extent is this correct (or incorrect) from the point of view of the architecture of the site structure? Never tried it just...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question