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?
mootools
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: mootools
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 12 Dec 2009, 12:32
Re: mootools
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.
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.
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: mootools
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
In Joomla! framework there is method (loading library) which caused only one loading of the mootools.
Jan
If you find Phoca extensions useful, please support the project