Answer the question
In order to leave comments, you need to log in
How to display the name of the section and a link to it in 1C-Bitrix?
This displays a link to the current section.
<?
CModule::IncludeModule("iblock");
$res = CIBlockSection::GetByID($arResult['IBLOCK_SECTION_ID']);
$ar_res = $res->GetNext();
?>
<a href="<? echo $ar_res['SECTION_PAGE_URL']; ?>">
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