-
- 20 Posts
When I try to save the snippet after pasting the contents of maxigallery.txt I get the following error message:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
I then tried to create the snippet with only the name and description and with no code and I was able to save it. I then went back and pasted the code into the snippet but it would not save. I got the same error message. Is this likely an actual server error or is something going wrong with ModX?
Thanks
-
- 20 Posts
I don’t think that was the problem. It seems that there is a size limit that’s being reached. I can past about 50% of the code and save it but if I keep adding a few lines the save eventually fails. I got around the problem by editing the database record for the snippet through phpMyAdmin. Thanks for the quick post though.
I wonder how to create multiple galleries? I’d like to have galleries of different topics with some galleries having sub-galleries. I’ve read the docs and searched a little but havent found what I’m looking for just yet. Does anyone know of a forum thread or article that might help?
Thanks again.
-
- 4,213 Posts
Create the galleries to different documents and in the parent documents, you can use childgalleries display mode to list the sub galleries. Or try the MaxiGallerySolo snippet what is in the resource repository in extras, it can display pictures in one document from multiple galleries etc..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
In the unzipped package you will find MaxiGallery_Parameters_EN.html.
-
- 20 Posts
That helps. Thank you. Could someone help out with some pointers to using child galleries? I’d like to have a page that has multiple images that when selected link to another gallery. Each of those galleries may in turn have child galleries. How would I go about setting up the initial page? would it be a gallery with each image in the gallery being a child gallery? I’m kinda stuck here.
Thanks for the assist.
-
- 4,213 Posts
1. Create a folder document and call the snippet on there like [[MaxiGallery? &display=`childgalleries`]]
2. Create documents under that folder and place gallery calls there using something like [[MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &thumb_use_dropshadow=`1`]] for example.
3. Upload some pictures to the galleries.
4. View the folder document.
5. You can also create the links to subgalleries with MaxiGallerySolo.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."