[[ MaxiGallery? &display=`childgalleries` ]]
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Invalid argument supplied for foreach()
Error type/ Nr.: Warning - 2
File: W:\playground\html\modx\assets\snippets\maxigallery\maxigallery.php
Line: 615
Line 615 source: foreach($children as $child) {The simplest to do that would be to create a image TV for the gallery documents that holds the icon, then use Ditto to list the child documents on the container document and show your icon.
Hello. I need to do this as well and I am unsure of what exactly you mean... I need to place icons on the main gallery page to categorize the work we’ve done. When people click on an icon it takes them to a gallery of work in that category. This is a, I am assuming, childgallery thing but what confuses me is, how do I do what I just mentioned and then how would I specify to which gallery to upload the images?
sorry, but i have no clue how to do that.
The simplest to do that would be to create a image TV for the gallery documents that holds the icon, then use Ditto to list the child documents on the container document and show your icon.
then use Ditto to list the child documents on the container document and show your icon.but i thought that [!MaxiGallery? &display=`childgalleries`!] outputs some random-pics as gallery-folder-icons.
create a image TV for the gallery documents that holds the icondon’t understand this
Why you need to do sub-document to sub-gallery etc? why not just one gallery container document and all galleries as child documents..? or do will you have many different groups?
1) for every sub-gallery i have to add a sub-document to e.g. the "gallery"-container. insert there [[maxigallery? whateva]]
