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

    My Maxigallery isn’t showing up.

    I worked out that it was due to shopkeepers jquery so I just did a no conflict call, which was fine.

    But now it looks like Ajax’s mootools is conflicting with maxi’s.

    If I delete the manager/media/script/mootools/mootools.js file it all works, only prob is the manager then stops working (cant login properly).

    I tried copying the manager mootools over to maxigallies but that didn’t seam to work.

    I might try taking out Ajax’s call to mootools and see what happens.

    Any ideas....
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      &disable_js_libs will disable any libraries from being added to your header.

      From what I read your problem seems to be that multiple libs are included and are clashing. By setting that parameter to 1 you can include the lib(s) yourself.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 22574
        • 181 Posts
        Thanks Mark, tried that awhile ago but it didn’t work.

        It seams that if maxis uses ajaxs mootools then it doesn’t work?
        And if I make Ajax uses maxis mootools then it looks like it all works but then the manager has problems with loading and logging in.

        Any ideas?
          • 18373 ☆ A M B ☆
          • 3,141 Posts
          Give us a live link to check out what is happening... perhaps there’s a simple conflict more experienced members on these forums can figure out by inspecting the page.

          What do you mean with Ajax btw? AjaxSearch?
            Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

            Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
            • 22574
            • 181 Posts
            Hey Mark, yes just to clarify Ajaxsearch.

            I’ll PM you a link now, if anyone else thinks they have an answer let me know and I’ll send you a link.

            So at the moment I have just tried another threads solution which was to copy the manager/media/script/mootools to the smoothgallery folder but this hasn’t worked for me.

            The only way I can get both Ajaxsearch and maxi’s smoothgallery to work is to change the manager/media/script/mootools/mootools.js file name or delete it.

            But that then creates a problem when logging into modx it just puts up a loading box which sits there forever.
              • 22574
              • 181 Posts
              With the help of Mark, turns out that Ajax was the problem to fix it all you need to do is add &addJscript=`0` to your ajaxsearch call.

              If you have shopkeeper you will need to add the no conflict call to its jquery script.