R
R
Roman Progressive2018-10-20 13:23:35
HTML
Roman Progressive, 2018-10-20 13:23:35

How to split a block into two parts of updated news?

Hi all!
DLE 13
I want to implement a block of updated news by date, well, I can’t catch up with something, how to split it into two blocks? so that the second block continues the news!

block 1
start of updated news
block 2
continuation of updated news

It turned out like this, then I entered into the fall that the second block should be added, or how to continue !?
<div class="col3 top-col">
  <h4><i class="fa fa-bullhorn"></i> Новости обновления</h4><br>
    <ul>
    {custom days="5" template="update_line" limit="5" order="date"}
  </ul>
  </div>
  <div class="col3 top-col">
    <br><br>
    <ul>
  <li><i style="color:green" class="fa fa-globe"></i> [ТЕСТ] Обновление 26.09.18</li>
  <li><i style="color:green" class="fa fa-globe"></i> [ТЕСТ] Обновление 27.09.18</li>
  <li><i style="color:green" class="fa fa-globe"></i> [ТЕСТ] Обновление 28.09.18</li>
  <li><i style="color:green" class="fa fa-globe"></i> [ТЕСТ] Обновление 29.09.18</li>
  <li><i style="color:green" class="fa fa-globe"></i> [ТЕСТ] Обновление 30.09.18</li>
    </ul>
</div>

template: update_line.tpl
<li><i style="color:green" class="fa fa-globe"></i> [{date=d.m.Y}] {title}</li>

this is how it should turn out so that the news would be updated by date:
5bcb00b4496e4592990727.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Kuzyakin, 2018-10-20
@Pro-gressive

the list can be split into two columns using column-count

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question