Hallo i m currently developping a new web site in which i m using pocha gallery,
i m using joomla 3.2.4 (i m waiting for the upgrade of the server for the 3.3.0) and i m using a simple templates created by me in order to achieve the client's ideas, and in my template i stripped out any calls to mootools, in order to have only jquery.
everything works fine but in the page in which pocha gallery is displayed mootools is back again!!
I read previuos post in wich you wrote that mootools js is not a dependency of pocha gallery, and as far as i was able to dig in your code this seems true to me as well, but still mootools is there..!!
In a local version of the site i have been upgrading to joomla 3.3.0 and pocha gallery 4.1.1 but same problem (it is not a prob at all but i would like to avoid it), so i believe that there are calls in the code that cause this behavoir
i was looking straight away for this code "JHTML::_('behavior.framework');", but no result, so it is probably some calls to inherited functions (or class)..
Any help is appreciated..
thanks
mootools js
-
menhir777
- Phoca Newbie

- Posts: 2
- Joined: 21 May 2014, 10:44
Re: mootools js
Hallo i found the code that calls mootools..
is in the file
[root]\components\com_phocagallery\views\category\view.html.php
in line 319
// =======================================================
// DIFFERENT METHODS OF DISPLAYING THE DETAIL VIEW
// =======================================================
// MODAL - will be displayed in case e.g. highslide or shadowbox too, because in there are more links
JHtml::_('behavior.modal', 'a.pg-modal-button');
if i comment this line no more mootools, and everything seems working fine
by the way i m using as modal highslide.js
any comment??? and any way to change this behavoir without commenting this 'core' file??
thanks
is in the file
[root]\components\com_phocagallery\views\category\view.html.php
in line 319
// =======================================================
// DIFFERENT METHODS OF DISPLAYING THE DETAIL VIEW
// =======================================================
// MODAL - will be displayed in case e.g. highslide or shadowbox too, because in there are more links
JHtml::_('behavior.modal', 'a.pg-modal-button');
if i comment this line no more mootools, and everything seems working fine
by the way i m using as modal highslide.js
any comment??? and any way to change this behavoir without commenting this 'core' file??
thanks
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: mootools js
Hi, I am planning to add the loading to parameters for some of the next release - as some of the javascript methods need to have loaded the mootools 
Jan
Jan
If you find Phoca extensions useful, please support the project