We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36549
    • 572 Posts
    Hi,

    I have been setting up some galleries with MG and all was working well.
    I have page ID 32 for the ’gallery manager’...and call:
    [!MaxiGallery? &max_pic_size=`420x320` &max_thumb_size=`43` &is_target=`1` &max_pic_number=`6`!]



    I then have a container with a FirstChildRedirect to a child page ID 51 containing the first gallery template...with the call:
    [!MaxiGallery? &pictureTpl=`mgPicture01` &display=`pictureview` &max_pic_size=`420x320` &max_thumb_size=`43` &js=`assets/templates/new/js-setup01.js`!]

    ...and the thumbs:
    [!MaxiGallery? &galleryOuterTpl=`mgGalleryOuter01` &galleryPictureTpl=`mgGalleryPicture01` &manage_target=`32`!]


    Everything was working ok but now when i click on the ’manage pictures’ button it just takes me to the gallery manager page i.e. www.mySite.com/Gallery-Manager.php?gal_id=51 but with the default "In order to comment on blog entries, you must be a registered user of CMS - test site. If you haven’t already registered, you can request an account."

    Any ideas what’s gone wrong here?
    I can’t think of what i’ve changed for this to happen.

    Thanks

    J
      www.9thwave.co.uk
         WEB | DESIGN | PRINT
      • 7923
      • 4,213 Posts
      Which snippet call displays the manage pictures button?

      I think in your case it’s the upper one, so add the &manage_target=`32` parameter to the upper snippet call.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 36549
        • 572 Posts
        Doze...thank you so much.
        I cannot understand how that has happened!!!

        Now just one more thing if there’s a quick solution, the upload page displays the options twice...i think i have come across this before and can’t quite remember the solution.

        Thanks for your help

        J
          www.9thwave.co.uk
             WEB | DESIGN | PRINT
          • 7923
          • 4,213 Posts
          you need to make sure that document with id 32 has only one maxigallery snippet call running


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 36549
            • 572 Posts
            Hi Doze,

            The snippet call on ID 32 (Gallery manager) is:
            [!MaxiGallery? &max_pic_size=`420x320` &max_thumb_size=`43` &is_target=`1` &max_pic_number=`21`!]

            I can’t see anything wrong with that...is there an error with that call?

            Thanks so much for your help
              www.9thwave.co.uk
                 WEB | DESIGN | PRINT