U
U
unlik2018-02-18 23:30:03
1C-Bitrix
unlik, 2018-02-18 23:30:03

Multiple choice in Bitrix?

Bitrix has a gallery
Categories in it are displayed in the template in this way

<ul>
        <? foreach ($arResult["SECTIONS"] as $arSection) { ?>
            <li><a href="#" data-toggle=".sec-<?= $arSection['ID'] ?>"><?= $arSection['NAME'] ?></a></li>
        <? } ?>
    </ul>

The problem is that you can select several categories at once. And you only need one. Where to dig?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question