Answer the question
In order to leave comments, you need to log in
How to get album id in GalleryItem chunks?
Hello!
There is MODx Revo, it has a Gallery component.
Who knows how to get the album id in a chunk?
Out of the box, as I understand it, there is only a placeholder but that's not it
https://docs.modx.com/extras/revo/gallery/gallery....
You need it
<a href="" data-id=""></a>
Answer the question
In order to leave comments, you need to log in
In the Gallery snippet itself, as I understand it, it is impossible to display the album ID.
To do this, use other snippets, for example, GalleryAlbums in rowTpl there is a placeholder for the album ID.
https://docs.modx.com/extras/revo/gallery/gallery....
https://docs.modx.com/extras/revo/gallery/gallery....
You can get an ID for the GalleryItem snippet
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question