Page 1 of 1

mootools

Posted: 12 Dec 2009, 12:44
by iva
Hi Jan
Uploaded phocamenu_pro_v1.1.1 the template that uses mootools.js. As a result, appeared in the pages of component errors. How to make the page load the correct phocamenu mootools.js and caption.js?

Re: mootools

Posted: 13 Dec 2009, 01:11
by Jan
Hi, in Phoca Menu there is no mootools. If you are running Phoca Gallery with Phoca Menu, then Phoca Gallery calls the modal box which is a part of Joomla! so there should not be a problem as this is coded in Joomla! But maybe some other extension (template or module) can be in conflict with the Joomla! modal box (mootools library)? Please try to check your site for other extensions.

Jan

Re: mootools

Posted: 13 Dec 2009, 17:06
by iva
I give the link http://www.2n.webstream.kiev.ua Template involves downloading mootools.js, but in the pages of component mootools disabled.
If you prescribe in the template index.php
script type = "text / javascript" src = "/ media / system / js / mootools.js"> </ script
script type = "text / javascript" src = "/ media / system / js / caption.js"> </ script
Everything works well. But on the other pages load (mootools.js caption.js) is duplicated and it is not good.

Re: mootools

Posted: 13 Dec 2009, 20:49
by Jan
Hi, then there you need to do some hack in the template so the mootools will be not loaded twice again.

In Joomla! framework there is method (loading library) which caused only one loading of the mootools.

Jan