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

    I have a "global" gallery, that is showed in several templates [1]... and there is another maxigallery in a template[2]...

    when I try to upload things to that "local" gallery, it opens two instances of "maxigallery manager" sections... one in the local place, and another one in the "global" gallery...

    so, when I hit upload, it shows an uggly error... images are uploaded... but things get weird when you are using the image management mode......

    maybe there is a way to "name" each gallery? to separate management mode sections properly...

    any idea? sad

    [1] here the call of the "global" gallery
    [!MaxiGallery? &max_pic_size=`200x205` &max_thumb_size=`200x205` &max_pic_number=`6` &pics_per_row=`1` &lang=`es` &quality_big=`90` &quality_pic=`90` &quality_thumb=`85` &display=`embedded` &embedtype=`smoothgallery` &smoothgallery_timed=`true` &smoothgallery_width=`200` &max_pic_size=`205` &smoothgallery_height=`205` &smoothgallery_preloader =`true` &smoothgallery_showCarousel =`false` &smoothgallery_showInfopane=`true` &smoothgallery_embedLinks=`false` &smoothgallery_showArrows=`false` &smoothgallery_timed=`true` &smoothgallery_delay=`6000` &manage_target=`49` &gal_query_ids=`1` &smoothgallery_id=`1`!]

    [2] here the call of the "local" gallery
    [!MaxiGallery? &max_pic_size=`600x450` &max_thumb_size=`115x86` &max_pic_number=`6` &pics_per_row=`3` &lang=`es` &quality_big=`95` &quality_pic=`90` &quality_thumb=`85` &display=`embedded` &embedtype=`slimbox`!]
      • 7923
      • 4,213 Posts
      You need to use &manage_target and &is_target parameters or implement the disable manager hack.. see the sticky information post.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 17705
        • 501 Posts
        thanks, it was so simple... as I already did it for the "global" gallery...

        but, anyway... I have a strange issue now... I have implemented the new template and document to manage "local" galleries... but the sizes I use in the parameters are not used at all... it continue using the "global" sizes, no idea why...

        I have this call for the "local" gallery manager:
        [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &max_pic_size=`600x450` &max_thumb_size=`115x86` &max_pic_number=`6` &pics_per_row=`3` &lang=`es` &quality_big=`95` &quality_pic=`90` &quality_thumb=`85` &is_target=`1`!]

        and this for the "local" template:
        [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &max_pic_size=`600x450` &max_thumb_size=`115x86` &max_pic_number=`6` &pics_per_row=`3` &lang=`es` &quality_big=`95` &quality_pic=`90` &quality_thumb=`85` &manage_target=`61` &is_target=`0`!]

        so, when I upload images... is taking the &max_pic_size=`200x205` &max_thumb_size=`200x205` from no idea where... sad

        because the "global" gallery, with those parameters, is not included in the "local" manager template...
        it is like remembers those parameters of the "local" document template? that have included the "global" gallery?
          • 7923
          • 4,213 Posts
          So the "local gallery manager" document is the document with ID 61? Make sure that there are no other maxigalleries running on that document ie. the "global" gallery should be removed from that document.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 17705
            • 501 Posts
            yep, 61 is the "local gallery manager"... and there are no other maxigalleries in that document template...
            and the TV that uses "@document 1" as value, to insert the global gallery, is disabled in that template...
              • 17705
              • 501 Posts
              aaghhhhhhhh, I want to cut my balls!
              hours looking for the error, in templates, TVs, etc.....

              ... then... I realized... that the document 61 had a wrong template!
              the one that manage uploads in the global gallery! sad


              lol