We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7923
    • 4,213 Posts
    It’s not the subdirectory, works fine in my environment when I have MODx in a subdirectory..

    You could try to add <base href="[(site_url)]"></base> to the <head> of your template, but I’m not too confident that it will fix it.. it might thought.

    Also, use &pics_per_row parameter instead of &pics_in_a_row

    EDIT: and now that i look at it, childgalleries display mode already respects the &pics_per_row parameter, you just had the wrong parameter name in your snippet call.


      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
      • 867
      • 241 Posts
      I included the base url in the head but it did’nt change anything.

      >>and now that i look at it, childgalleries display mode already respects the &pics_per_row parameter, you just had the wrong parameter name in your snippet call.

      What’s is wrong with my call, could you tell me what’s " wrong parameter name" ? I can’t see any differences. ( i try both per_row and in_a_row)

      [!MaxiGallery? &childgalleries_ids=`all` &display=`childgalleries` &pics_per_row=`3` &order_by=`random` &childgalleries_order_by=`createdon`!]

      Cheers
        • 7923
        • 4,213 Posts
        The &pics_in_a_row does not exist anymore, it’s &pics_per_row

        Now that I looked at your galleries page, I see that the html code that’s being outputted from MaxiGallery is from an old version. So are you sure you have updated all the files to the latest versions? And if you are using some custom template, you have to update it too..

        EDIT: About the slidebox.. have you tried to remove the picture titles / descriptions.. Maybe there’s something there that the slidebox script doesn’t like. It might be the quotes that messes it up..

        EDIT2: Nevermind the above edit, I think I know now what’s going on with the slidebox.. Try to change in maxigallery.class.php line 336 from:

        $url = $modx->config['site_url'].$path_to_gal.$pic['filename'];
        


        to:

        $url = $modx->config['base_url'].$path_to_gal.$pic['filename'];
        


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 867
          • 241 Posts
          embarrassed
          >>EDIT2: Nevermind the above edit, I think I know now what’s going on with the slidebox.. Try to change in maxigallery.class.php line 336 from:
          I changed it but.. no news. Should i keep all the changes that you indicate before ?

          like this one
          [+maxigallery.embedtype:is=`slidebox`:then=`
          <a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox_[(base_url)][+maxigallery.path_to_gal+]gallery">

          >>I see that the html code that’s being outputted from MaxiGallery is from an old version.
          I re-upload.. But nothing new. And the snippet is 0.5

          Sorry Doze for all that trouble and thanks again
            • 7923
            • 4,213 Posts
            Quote from: alchime at Apr 23, 2007, 09:00 AM

            embarrassed
            >>EDIT2: Nevermind the above edit, I think I know now what’s going on with the slidebox.. Try to change in maxigallery.class.php line 336 from:
            I changed it but.. no news. Should i keep all the changes that you indicate before ?

            like this one
            [+maxigallery.embedtype:is=`slidebox`:then=`
            <a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox_[(base_url)][+maxigallery.path_to_gal+]gallery">
            Yes, I would think so.. but you can try without that base_url change.

            Quote from: alchime at Apr 23, 2007, 09:00 AM

            >>I see that the html code that’s being outputted from MaxiGallery is from an old version.
            I re-upload.. But nothing new. And the snippet is 0.5

            Sorry Doze for all that trouble and thanks again
            The maxigallery templates that you use are old.


              "He can have a lollipop any time he wants to. That's what it means to be a programmer."
              • 867
              • 241 Posts
              I don’t really understand why my template would be old but i re upload it...

              Anyway i found out the answer from an another post for the row listing :
              In the main gallery (with only sub_galleries) the default CSS is not loaded, when i copy paste
              it in the main css it works just fine grin

              I’m still don’t know if it’s my mistake or if something is missing in the case of a listing of a gallery.

              The last problem is about the fact that when you clik "next" you come back to the thumbs.

              But before you start to hate me i might decide to keep it that way (i just have to take off the "next thing")
              and I guess i could made a link to have all the image shown in a slideshow.
              I tryied one here : http://alchime.info/m/index.php?id=4 and it’s quite nice exept that (in FF)
              when you clik on "pictures" all the little thumbs are blinkink..uh)

              (edit) just a last thing with the new synchro/ftp ! most of the time i got a error 500 the first 2 times that i try to synchronyse a galery and the third time it works. (i f it ca help you improve maxiGallery..) But it’s probably a server issue not a coding one.(?)