A
A
Anastasia Panfilova2017-03-24 13:09:35
1C-Bitrix
Anastasia Panfilova, 2017-03-24 13:09:35

How to implement multiple galleries on the Bitrix website?

The bottom line is that I need to implement "multiple galleries" for the site on Bitrix. I mean, give the user the opportunity to first fill in one, then add and fill in the second, and so on ad infinitum, and then insert it, for example, into a detailed description.
Is this even possible? :)
And if so, could you give me a tip where to read, where to learn more about such an implementation, because I can’t even form my thought correctly so that Google gives me what I need.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Gritsuk, 2017-03-25
@nemarta

Create a new infoblock. Call it "Galleries". In this infoblock, you create a multiple property of the file type. Let this property be called Photo.
In the infoblock in which you plan to use galleries (for example, this is the News infoblock), create a multiple property of the Binding to infoblock element type, in which you specify that the binding will be to the Gallery infoblock.
The element in the Gallery infoblock will be a gallery. It will need to fill in at least the name and the multiple property Photo.
In the template of the component responsible for displaying the News infoblock element, display the galleries attached to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question