We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26982
    • 75 Posts
    Is it a known issue that the Lightbox effect (and slidebox) stops working properly if browsing the site as a manager?
    If I logout, lightbox works perfectly, but if I am logged in the thumbnail opens as a full window rather than a popup (so the user has to press "back" on their browser to see the original page).

    If this isn’t a known issue and anybody is curious, I can PM the link to my test site.

    Thanks,

    /\dam
      • 25663 MODX Staff
      • 12,272 Posts
      It’s likely a conflict with Quickedit and the JS library it uses. I believe the slideshow uses mootools and Quickedit protoscript. 096 will fix all that.
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 26982
        • 75 Posts
        Just to clarify, I am using 0.96 alpha rc1.

        /\
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          It’s a javascript conflict; QuickEdit loads up its own version of the libraries when you are logged in. The same thing happened with AjaxSearch for a while. If you can live without QuickEdit, just disable the plugin.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 7923
            • 4,213 Posts
            Use slimbox instead of lightboxv2 and you have no problems.


              "He can have a lollipop any time he wants to. That's what it means to be a programmer."
              • 26982
              • 75 Posts
              I’ll give slimbox a try thanks. I should clarify though, that I really don’t see this as a huge problem. Provided the lightbox effects work for normal visitors then it’s not a big deal for me.
              I really like the lightboxv2 effect too, so if slimbox isn’t as nice I’ll stick with it I think.

              /\dam
                • 7923
                • 4,213 Posts
                slimbox is 100% identical to lightbox v2 for end user point of view. The difference is that it uses MooTools js library (what also quickedit and ajaxsearch use) and is hundreds kilos lighter than lightboxv2/scriptaculous/prototype combo.


                  "He can have a lollipop any time he wants to. That's what it means to be a programmer."