S
S
SpeakeazyYT22018-08-02 21:32:58
1C-Bitrix
SpeakeazyYT2, 2018-08-02 21:32:58

How to display sections with infoblock elements in different places on one Bitrix page?

Hello. I created an infoblock where I created several sections (let's say Section1, Section2 and Section3). In each section, I placed pictures that should be displayed on ONE page of the Bitrix website.
Screenshot of the page layout (everything should look like) - below!!!
5b634d7b795e6644793844.png
On the layout, where it says (Some text) is the text between blocks (sections).
First, I called the news component and filtered the sections with the arFilter.
Specified in the code:

<?
$arFilter = Array("IBLOCK_ID"=>23, "SECTION_ID"=>130);
?>

,where IBLOCK_ID - infoblock id and SECTION_ID - section id with elements (pictures).
arFilter turned out to be not so functional, since it can be used ONLY ONCE ON one page (as I saw). So how do I implement what I want? Help me please!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-08-02
@SpeakeazyYT2

<?
$arFilter = Array("SECTION_ID"=>130);
?>
<?
// component 1
?>
Some text
<?
$arFilter = Array("SECTION_ID"=>131);
?>
<?
// component 2
?>
Some text
and so on.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question