[[+content_image]]
D
D
Dymok2020-02-06 22:49:47
MODX
Dymok, 2020-02-06 22:49:47

How to display multiple ms2gallery galleries per page?

There is a task to display all galleries on the page: their previews and all images. I use like this:

[[ms2GalleryResources?&tpl=`album-new`&includeThumbs=`big`&parents=`2`&includeTVs=`new`&limit=`0`]]

Everything is fine with the list of all galleries, they are displayed, now you need to display all the images of each gallery, in the album-new chunk I use
[[ms2Gallery?&tpl=`thumb-item`]], but nothing is displayed.
If you specify &parents=`0`, then it will display absolutely all images from all galleries.
How can I get all images related to this gallery?

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