VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: open-minds on July 05, 2012, 14:05:09 PM

Title: VirtueMart and Mootools
Post by: open-minds on July 05, 2012, 14:05:09 PM
Hi,

I'm using VirtueMart 2.0.8c and Joomla! 2.5.

My website uses Mootools (for the menu for example) so it should be included in every page, including the E-shop. Mootools is included in every VirtueMart page, excluding the following ones:
- "edit_shipment" (but "editpayment" is OK !) ;
- "order_done".

Any idea what controls this behavior?

Thank you.
Title: Re: VirtueMart and Mootools
Post by: open-minds on July 06, 2012, 15:59:30 PM
Hi,

I solved the problem by using JHtml::script() with second parameter set to "true" in order to load Mootools core when the template scripts are loaded.