Answer the question
In order to leave comments, you need to log in
How to get section ID in Bitrix directory with Ajax enabled?
Hello colleagues. I can not overcome one problem in any way.
Site on Bitrix. There is a section, in the index file I prescribe the output of the catalog and the news in detail. I need the news to be displayed ONLY in the root page. It is displayed both in sections and in elements in detail.
<?if($APPLICATION->GetCurDir() == '/bla-bla-bla/'){?>
);?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question