We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11678
    • 160 Posts
    With lightboxv2 selected as the embedded display type, in FireFox the pictures were not opening in lightboxv2, instead they opened on a blank page in the upper left corner. I tried it in IE7,Opera 9 and Flock 0.7.12 and the pics opened in lightboxv2 correctly, so back to FF to see what was up. I logged out of QuickEdit and ta da! Everything works correctly in FF. So MaxiGallery is another snippet (along with AjaxSearch) that QuickEdit causes a problem with in FireFox. The problem seems to be QuickEdit in FireFox.
      "Today’s headlines are nothing more than whispers of history"
      • 7923
      • 4,213 Posts
      Newest quickedit & ajaxsearch uses MooTools. Lightbox v2 uses Scriptaculous/Prototype. Those two don’t play nice together. So in MaxiGallery, use slimbox instead of lightboxv2 as slimbox uses MooTools too and they are identical for end users.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 11678
        • 160 Posts
        Thanks again Doze. that clarifies that problem. Is there a way to put a "back" button in smoothgallery so that the user can jump back to the parent page when finished viewing the childgallery? Or is it there and I’m just missing it?
        Cheers,
        HalD
          "Today’s headlines are nothing more than whispers of history"
          • 7923
          • 4,213 Posts
          No, you’d need to do that link manually to the document or with some kind of snippet. You could for example pass the "parent" document id in the url query string and then in childgallery page, build a back link to that id.

          So in maxigallery childgalleryTpl you would use [+maxigallery.childurl+]&back=[*id*] as the link to the childgallery page and then in the childgallery page you have a snippet that builds the back link like so:

          <?php
          $backId = $_GET['back'];
          $output = '<a href="'.$modx->makeUrl($backId).'" title="Back to galleries">Back to galleries</a>';
          return $output;
          ?>
          


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 11678
            • 160 Posts
            Doze; Super help!
            HalD
              "Today’s headlines are nothing more than whispers of history"
              • 26982
              • 75 Posts
              Please see this thread: http://modxcms.com/forums/index.php/topic,13753.0.html
              as I believe it’s possible you are seeing the same problem as me.
              If so, it’s not actually a huge problem, as once you logout, lightboxv2 works fine.

              /\dam