G
G
Good Samaritan2017-09-19 16:05:40
1C-Bitrix
Good Samaritan, 2017-09-19 16:05:40

How can I find out if a section has a parent?

You need to display the partition tree. And add links to sections if they have a parent.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Filippenko, 2017-09-19
@alexfilus

Sections have the IBLOCK_SECTION_ID field, if it is filled and there is not 0, then this is the section ID.
Are you talking about infoblocks? What component are you using? Maybe just breadcrumbs will do for you?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question