English > Install & Configure jDiction
Installation not working
Harald Leithner:
If you can plz send me a supersdmin account per pm
joebarrus:
I sent you access via PM but it doesn't show up in the sent folders. Let me know if you didn't receive it
Thanks
Joe
joebarrus:
I figured it out. You have a conflict between JQuery and Mootools. I have jQuery loaded twice on my page, once before moot0ols and once after, I'm not really sure what is loading the first one but all I did was wrap your code that is using Mootools with the following:
// For Mootols scripts
(function($){
// set a local $ variable only available in this block as an alias
// to Mootools document.id
... here is your Mootools specific code ...
})(document.id);
This allows your Mootools to work without conflict as you localized scope of the $ variable to only mean an id selector. Only problem is I don't know where throughout your code you use Mootools where I need to fix that. It would be nice if you can release a patch that wraps all your Mootools code this way. Alternatively, I can try to find out what extension I am using that is loading jQuery first but that might take some time but also leaves your code vulnerable to future extensions that might reload jQuery first.
I took away super admin access as you don't need it anymore. But please let me know if you can release a patch or let me know where in your code you use Mootools so I can patch it myself.
Thanks
Joe
joebarrus:
Ok I solved the backend issue but now I have a frontend issue. Translating articles seem to work fine but my menus are not translating. The data is being stored and when I sniff the db load I can see the data being retrieved but the menu never renders translated.
I've restored access to the super user account I gave you in PM. Please feel free to use it to see if you can figure out why. If I can get articles and menus to work I think I'm golden
thanks
Harald Leithner:
Ok thx for the debugging.
2 things.
1st jdiction should not use mootools anymore in Joomla 3.x environment, if you its a bug. I found some mootools code in Joomla 3 part of the component, I will replace it and release a new version here in this thread.
2nd the problem that a menu is not translated has mostly todo with another plugin or template engine. First you have todo for this is to make sure the jdiction plugin is loaded on position 1 and all other plugins on position 2 or later.
if this doesn't help some plugin is badly coded.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version