I’m struggling with a similar type of problem--multiple galleries on one page.
I have created a MG slide show. This slide show is used on several pages on the site displaying the same set of images where ever it is called. Since putting a MG call on each page would create a separate gallery on each page, I’ve created a document just for this gallery (id 25) and I’ve pulled, into the sidebar of the various pages, the contents of that page (the gallery) using the includeDocument snippet.
http://modxcms.com/forums/index.php?topic=26866.0. In order for this to work, I’ve included the &gal_query_ids=`all` parameter in the MG call. I tried using &gal_query_ids=`25` which is the document id containing the MG call but that just made the gallery disappear from the sidebar. (not sure why that doesn’t work)
Home (1) with sidebar showing slideshow
Sidebar Documents (folder)
Sideshow (25) contains MG call
So on the home page(1) the sideshow in doc 25 appears in the sidebar just fine. It also appears in the side bar on several other page and works just fine.
[[MaxiGallery? &smoothgallery_id=`partners` &display=`embedded` &embedtype=`smoothgallery` &galleryPictureTpl=`terrysgallerypicturetpl` &max_pic_size=`150` &smoothgallery_width=`150` &smoothgallery_height=`150` &smoothgallery_timed=`true` &smoothgallery_fadeDuration=`1600` &smoothgallery_delay=`3900` &smoothgallery_showInfopane=`false` &smoothgallery_showCarousel=`false` &smoothgallery_showArrows=`false` &gal_query_ids=`all` &order_by=`random` ]]
</div>
OK, all that works
Now, I want to add a unique slide show the main content area of the home page.
I created a new MG call with a unique id &smoothgallery_id=`photosone`
[[MaxiGallery? &smoothgallery_id=`photosone` &display=`embedded` &embedtype=`smoothgallery` &galleryPictureTpl=`terrysgallerypicturetpl` &max_pic_size=`150` &smoothgallery_width=`150` &smoothgallery_height=`150` &smoothgallery_timed=`true` &smoothgallery_fadeDuration=`1600` &smoothgallery_delay=`3900` &smoothgallery_showInfopane=`false` &smoothgallery_showCarousel=`false` &smoothgallery_showArrows=`false` &order_by=`random` ]]
However, this displays the contents of the other gallery. When I look at the html, I see two galleries, each with their respective IDs showing the same content.
I suspect it has something to do with the &gal_query_ids=`all` parameter in the sidebar gallery. However, when use &gal_query_ids=`25` it just disappears. I had thought that using unique gallery IDs would have allowed this to work correctly.
I could use some insight on this.
Thank you!