Answer the question
In order to leave comments, you need to log in
Yii ListView grouping by blocks, how to do?
Greetings to the people, who will tell you how to group by 3 blocks when displaying in a ListView
, I will give an example of what is needed as a result
<div class="main-block-row">
<div class="main-box">
Малый блок 1
Малый блок 2
</div>
<div class="main-box">
Правый большой блок
</div>
</div>
Answer the question
In order to leave comments, you need to log in
1. Pagination can be done without ListView
2. ListView uses the same foreach
Therefore, either build your own ListView by inheriting it from the base one, or use foreach and LinkPager for pagination
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question