I’ve got my document node:
"Vendor.SitePackage:GalleryPage"
superTypes:
'Vendor.SitePackge:DefaultPage':true
childNodes:
images:
type: 'DL.Gallery:Gallery'
and here is a fusion compendium of all ways I tried to get this running:
gallery = DL.Gallery:Themes.BootstrapLightbox {
nodePath = 'images'
node = ${q(node).children('images')
assets = ${q(node).children('images').property('assets')}
assetCollection = ${q(node).children('images').property('assetCollection')}
tag = ${q(node).children('images').property('tag')}
sortingField = ${q(node).children('images').property('sortingField')}
sortingDirection = ${q(node).children('images').property('sortingDirection')}
theme = ${q(node).children('images').property('theme')}
}
The properties like assets or tags get loaded correct. But node oder nodePath seem to fail and I get the message:
Es wurden weder Bilder noch eine Sammlung oder ein Tag ausgewählt oder die ausgewählte Sammlung oder der ausgewählte Tag enthält keine Bilder.
Any hint why this happens?
By the way, adding a gallery in the main contentCollection works fine.