News:

Support the VirtueMart project and become a member

Main Menu

VirtueMart and Mootools

Started by open-minds, July 05, 2012, 14:05:09 PM

Previous topic - Next topic

open-minds

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.

open-minds

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.