Forgot?

JS script conflict with Template vs Modules

Reply Topic
Link to this post 11 Aug 08

It seesm that there can be JSscript conflicts between the templates and modules. The question that I have is, how do I know which script I am currently using? I guess I would like to make sure that I am using the same script from template to modules.
How do I find which script my template is using?

Link to this post 11 Aug 08

hi barton,

you will want to look at the source code of you page (view -> page source)

and then look for something like the following at the top of the page

<script type="text/javascript" src="/templates/rt_catalyst/js/mootools-release-1.11.js"></scrip

or alternatively you could download firebug (if your using firefox) which once installed will tell you all the scripts that you are running on an given page

hope that helps

Richie

Link to this post 11 Aug 08

Hi barton91,

I recommend the usage of Firebug, because it can let you directly take a look into the JavaScript source and debug it too. Sometimes you're not even aware of any bug in your scripts, but the little bug in the right downer corner will show you that soon.

Best Regards
Uwe

Link to this post 18 Aug 08

Thanks, I am still getting around oon hwo to fully use Firebug.

Link to this post 18 Aug 08

Rockettheme has some good firebug tutorials:

http://tutorials.rockettheme.com/video/firebug/firebug-javascript-errors.html

http://tutorials.rockettheme.com/video/firebug/firebug-html-tab.html

http://tutorials.rockettheme.com/video/firebug/firebug-logo-changes.html

Home Forum General General Discussion JS script conflict with Template vs Modules