To help others benefit from the hours upon hours I spent resolving this script conflict I provide the following synopsis:
Problem:
I had two competing scripts in the Index.php of my
template, both requiring access to mootools.
1) A Sliding Control Panel ~ running mootools v.1.00
2) MooFAQ sliding FAQ
module ~ running mootools v.1.11
The MooFAQ module installation requires 2 lines of code placed in the <head> section of the Index.php which created a conflict resulting in only one of the scripts working at a time.
The conflict appeared to have resulted from 2 different versions of moo tools running in the SAME TEMPLATE at the same time.
I bolded SAME TEMPLATE ~ because I have 2 different
templates running within the same site, and the Sliding Control Panel was working just fine alongside the MooFAQ module in one of them, while at the same time the Sliding Control Panel was inoperable in the other ~ the one in which I was running Moo FAQ
Solution:
1) Replaced mootools.v1.0 in the .js file of the template with mootools.v.1.11 (downloaded from mootools.net)
2) Replaced rt_tools_packed.js file of the template with roktools.js from another template with a version of the control panel slider that works with mootools v1.11
3) Redirected the Control Panel Slider script code in Index.php to reflect the file changes
AND THE KICKER:
4) Moved MooFAQ scripts above the scripts governing the Control Panel scripts (which seemed to be the final key)
MISSION ACCOMPLISHED ~ the two scripts now play nicely together! & I love MooFAQ!
