Open sashabeep opened 8 years ago
for new modifiers or phx, PHX included to evogallery but its a little old and without ifnotempty modifier
[+items:ifnotempty=`the are content of gallery_tpl with [+items+]`+]
if not work use that construction:
[+phx=`[+items+]`:ifnotempty=`the are content of gallery_tpl with [+items+]`+]
by the way, in default tpl only [+items+] and it not show if no images
Thanks for advice
Usually, just [+items+] is not enough for gallery block on the page. I just wrote another implementation using DocLister
Defaul call render wrapper even if no images attached to the document
[[EvoGallery? &display=
images&itemTpl=
gallery_item&tpl=
gallery_tpl]]
How to disable rendering of gallery_tpl if document does not contain any images?