I have a structure like this:
folder one (5)
|- folder two (6)
|- folder three (7)
What I want is to somehow show the images in folders with id 6 & 7 by calling the parent id by using something like this:
[[Gallery?parent=`5`]] or [[Gallery?album=`5`]]
I have tried both and it returns nothing.
As last resort would be to call multiple albums but this doesn’t seem possible either:
[[Gallery?parent=`6,7`]] or [[Gallery?album=`6,7`]]
Any ideas how I can do this?
-
☆ A M B ☆
- 350 Posts
Can't actually see what you wrote previously, must have been stripped when forum changed over. However, I struggled to get the call right for selecting images from one specific parent album but eventually solved it using this call:
[[!GalleryAlbums? &rowTpl=`myAlbumRow` &showAll=`0` &parent=`25` &limit=`20` &dir=`DESC` ]]
Perhaps this is your answer?
Helen Warner
Number one pixel!
Proud to be linked with MODX at
Crimson Pixel
And your rowTpl chunk is...?
-
☆ A M B ☆
- 350 Posts
This is the chunk I used for rowTpl:
<li class="albumList"`]]><a href="[[~[[*id]]? &[[+albumRequestVar]]=`[[+id]]`]]">[[+showName:notempty=`[[+name]]`]]</a></li>
Hope it helps.
Helen Warner
Number one pixel!
Proud to be linked with MODX at
Crimson Pixel
I'd be curious on how to get child photos in one call as well.