M
M
Marina94562019-07-11 11:55:41
1C-Bitrix
Marina9456, 2019-07-11 11:55:41

How to make sections (or hashtags) in the news section?

There is a regular news section. It is necessary to make subsections (from above), when you click on a specific section, news from this subsection should be displayed. By default, all news should be displayed. How to implement it correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Gritsuk, 2019-07-11
@Marina9456

Use the standard bitrix:news complex component.
In its template, in the section.php and news.php files, add the bitrix:catalog.section.list component , which will display a list of sections. (you can see how to connect it in the bitrix:catalog component template).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question