N
N
ne_pes2019-11-11 23:55:16
1C-Bitrix
ne_pes, 2019-11-11 23:55:16

How to display Bitrix infoblock elements only with the first nesting?

There is an infoblock, it has elements that are at the first nesting level and at the second (in documents),
you need to display elements through the news.list component that are only at the first level (elements that do not need to be displayed in documents).
5dc9cab2789d1106832235.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yaroslav Alexandrov, 2019-11-12
@alexyarik

Look towards filtering by SECTION_ID
https://dev.1c-bitrix.ru/api_help/iblock/classes/c...
Variant example, but not tested

<? $GLOBALS['arrFilter'] = array('!=SECTION_ID' => false);?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question