D
D
dev4002016-06-29 16:45:31
PHP
dev400, 2016-06-29 16:45:31

How to display news from a certain category on Bitrix?

I did it as in this thread
dev.1c-bitrix.ru/support/forum/forum6/topic9508
But I didn't understand where to enter this section code.
That is, I do not need a list of categories, but all the news from the desired category.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Emelyanov, 2016-07-05
@babarun

1. Copy the news component to your space.
2. Add filtering by section id to the CIBlockElement::GetList method

"SECTION_ID" => "id нужной группы", 
"INCLUDE_SUBSECTIONS" => "Y",

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question