You need to use &manage_target parameters in the calls to make the picture management in another document. That target document should have similar MaxiGallery call with &is_target=`1` added to the parameters. See MaxiGallery wiki page for more info about the parameters.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Hi.
I am trying to solve the similar problem. I have 2 documents to show on one page. And every document has its own gallery. So,
1 - [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &manage_target=`101` view_gallery=`101` &galleryPictureTpl=`mgPreviewTpl` !]
2 - [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &manage_target=`102` view_gallery=`102` &galleryPictureTpl=`mgPreviewTpl` !]
And 2 documents - ids 101 and 102 with content
[!MaxiGallery? &is_target=`1`!]
where I want to upload my images.
But "manage pictures" uses only one common gallery, not separate.
I tried many variants and read topics on this forum, but I have no idea what’s wrong.
I tried to use snippet calls on one document but it doesn’t work. May be you can note my mistake?
TIA.
-
☆ A M B ☆
- 721 Posts
I have a similar issue.
I have one page that needs two galleries on it. For example, there are two headers
Gallery 1
-with the gallery call beneath it
Gallery 2
-with the gallery call beneath it
Is it possible to do this?
Okay, guys, I solved it.
doc 1: [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &manage_target=`101` view_gallery=`51` &galleryPictureTpl=`mgPreviewTpl` !]
|___doc 101: [!MaxiGallery? &is_target=`1`!]
doc 2 - [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &manage_target=`102` view_gallery=`52` &galleryPictureTpl=`mgPreviewTpl` !]
|___doc 102: [!MaxiGallery? &is_target=`1`!]
where galleries 51 and 52 are managed in subdocs and where we upload pics.
(if your gallery is just created in subdoc, its id should be the same as docid -- 101x51 and 102x52)
I had some troubles with managing galleries, but then I decided to upload pics from file manager - assets/galleries/51 or 52 (don’t forget to Manage->Resynch from site part). But now it seems to me quite easily to manage it from site.
Best regards.
@buzuchok,
You can also use the existing gallery documents to manage the galleries if they suit for it. And also, you can have just single manage target document to manage all galleries, if the image settings are the same for each gallery (sizes and so on).
Eg. instead of:
[!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &manage_target=`101` view_gallery=`51` &galleryPictureTpl=`mgPreviewTpl` !]
[!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &manage_target=`102` view_gallery=`52` &galleryPictureTpl=`mgPreviewTpl` !]
You can use this and have no manage target document at all:
[!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &manage_target=`51` view_gallery=`51` &galleryPictureTpl=`mgPreviewTpl` !]
[!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &manage_target=`52` view_gallery=`52` &galleryPictureTpl=`mgPreviewTpl` !]
Or if that doesn’t suit you for some reason, wrong page layout or something that you want separate managing document, you can have just a single document, eg:
doc 101: [!MaxiGallery? &is_target=`1`!]
and calls:
[!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &manage_target=`101` view_gallery=`51` &galleryPictureTpl=`mgPreviewTpl` !]
[!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &manage_target=`101` view_gallery=`52` &galleryPictureTpl=`mgPreviewTpl` !]
"He can have a lollipop any time he wants to. That's what it means to be a programmer."