VirtueMart Forum

VirtueMart 2 + 3 => General Questions => Topic started by: PRO on November 11, 2011, 19:47:29 pm

Title: What Mootools and Core JS Does Vmart 2.0 use?
Post by: PRO on November 11, 2011, 19:47:29 pm
Joomla Native uses mootools etc.

Which files does virtuemart require from Joomla Core js?

I know Modal.js, and tooltip.js

mootools-core.js?
moootools-more.js?
core.js?
caption.js?

Just trying to see what I can disable to make my site as fast as possible.

Title: Re: What Mootools and Core JS Does Vmart 2.0 use?
Post by: Studio 42 on November 14, 2011, 12:19:33 pm
IN normal case no mootools is used, only the editor use mootools.
I know some equivalent editor exist for Joomla with jQuery javascript.
I wanted use this but we cannot force joomla user to change the editor
Title: Re: What Mootools and Core JS Does Vmart 2.0 use?
Post by: PRO on November 15, 2011, 14:27:35 pm
The modal does not work without

Mootools-core.js   enabled.

I just tested. Thats all I can find so far.

Title: Re: What Mootools and Core JS Does Vmart 2.0 use?
Post by: nutritions on November 17, 2011, 08:26:46 am
dont have enough time to check this out but dont worry am going to check it zis evening
Title: Re: What Mootools and Core JS Does Vmart 2.0 use?
Post by: JtouchMobile.com on November 17, 2011, 08:38:01 am
I found one in /views/productdetails/tmpl/default.php

JHTML::_ ( 'behavior.modal' );
JHTML::_('behavior.tooltip');
Title: Re: What Mootools and Core JS Does Vmart 2.0 use?
Post by: PRO on November 17, 2011, 14:16:14 pm
I found one in /views/productdetails/tmpl/default.php

JHTML::_ ( 'behavior.modal' );
JHTML::_('behavior.tooltip');

I dont meant which files "include" it.

I mean which exact java files are used.

So far modal and Mootools-core.js  is all I have to keep.
I dont use tooltips, and will disable it.

Im just trying to see best ways for best performance.