Answer the question
In order to leave comments, you need to log in
How to correctly pass to filter the output of sections by the value of a custom property?
It is necessary to transfer filtering by a custom property.
<?
foreach($arSub as $arItem) {
$SubsIds[$arItem['ID']] = $arItem['ID']; ? >
< li class = "submenu__item" > < a data - text = "<?=$arItem['NAME']?>"
class = "submenu__link"
href = "<?=$arItem['SECTION_PAGE_URL']?>" > <?=$arItem['NAME']?> < /a></li >
< ?
} ? >
Answer the question
In order to leave comments, you need to log in
While trying this
global $arFilter
and check if this filter comes to the template. Check parameterUSE_FILTER
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question