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....
-
☆ 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.
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?
-
☆ 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?
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.
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.