O
O
Orkhan2016-01-07 21:21:05
Yii
Orkhan, 2016-01-07 21:21:05

How to display data in frontend?

Hello. I created an application on Yii 2 (advanced), worked with gii in the backend, created an admin panel (I use AdminLTE), etc. The question is: how can I display data in the frontend now? :) That is, the user. Is there any helpful material on this? Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
VZVZ, 2016-01-07
@VZVZ

> I use AdminLTE
I do not know. Is it important here? Here is a crooked example of comments in the
Yii2 framework:
https://yadi.sk/d/QI_xy9gFkHUL5
instead of bare SQL queries, ActiveRecord should have been used, etc.
BUT what I wanted to do, I did, and it works.

K
k600ii, 2016-01-12
@k600ii

Similarly with the backend, create the necessary controllers, models, and views in the frontend. The question is a little unclear) If you were able to create an admin panel, even if using the AdminLTE template, then I think how to display the page to the user. The frontend already has minimal functionality. Start by studying it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question