i designed my own template and used gavick highlighter (excellent module) and installed FIREBORAD form, highlighter was working fine on all pages except on fireboard forum pages, and was getting these javascript errors
- Code: Select all
($(B) || document).getElementsBySelector is not a function
[Break on this error] }function $ES(A,B){return($(B)||document...var A=[D.namespaceURI?"xhtml:":"",E[1]];
mootools.js (line 131)
el.getProperty is not a function
these errors means that mootools used by gavick highlighter was conflicting with jquery used by fireboard so used this one line code to solve the issue,
this solution can be used with any module which is using jquery (you can check loaded javascript libraries in firebug-firefox).
paste in your template's index.php file just before </head> tag (so that all javascript libraries are loaded first)
- Code: Select all
<script type="text/javascript" >
jQuery.noConflict();
</script>
its quick solution that works, i think noConflict() option should be included in gavick's modules
regards
salman