Hi everyone,
Long time reader, first time poster etc
I’m having a nightmare with MG and Ditto working together. I’ve read Doze’s comments in other forum posts, but it doesn’t seem to be solving my problem.
I’m trying to get more than one gallery onto a page and I figured the best way to do this would be using Ditto. I’ve set up my template (a chunk called ’gallery’) for Ditto to call MG in the style of the "One thumbnail in page, but all pics in Slimbox/Lightbox v2 picture set" on the Wiki for MG, plus bits from past help that Doze has given to others:
[[MaxiGallery? &display=`embedded` &embedtype=`slimbox` &order_by=`pos` &limit=`1` &galleryPictureTpl=`mgGalPicTpl` &max_thumb_size=`143x89` &max_pic_size=`0` &view_gallery=`[+id+]` &manage_target=`[+id+]` &is_target=`[+id+]` ]]
[[MaxiGallery? &display=`embedded` &embedtype=`slimbox` &order_by=`pos` &limit=`99999` &galleryPictureTpl=`mgGalPicTplHidden` &manageOuterTpl=`CODE:` &manageButtonTpl=`CODE:` &max_thumb_size=`143x89` &max_pic_size=`0` &view_gallery=`[+id+]` &manage_target=`[+id+]` &is_target=`[+id+]` ]]
All the other templates mentioned in that are correctly set up as per the Wiki.
I’ve then set up some resources and placed the following Ditto call in their parent resource:
[!Ditto &tpl=`gallery` &startID=`7` !]
That’s the correct startID and the resource is called correctly (tested by putting [+content+] into the template)
So I get to this stage and the ’Manage pictures’ button isn’t showing... What am I doing wrong?
Thanks for any help in advance, this is giving me a real headache!
Matt