P
P
Pavel Gogolinsky2014-03-29 09:33:32
Yii
Pavel Gogolinsky, 2014-03-29 09:33:32

How to arrange two "live" columns using Yii?

What do I mean. Here is the structure of the site
656eec79a6144002bb28d404c252bc72.jpg
How to pass a variable with news pulled from the database to the left side in the "News" block?
Clarifications.
I am using the layout_2 template for two columns. The right column "content" gets the view, respectively, and all the variables that I pass from the controller.
How to pass a variable to the "news" block?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Morozov, 2014-03-29
@gogolinsky

The simplest is a widget.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question