Loading jQuery before other Javascript Libraries - Joomla! Forum - community, help and support


i'm adapting custom component joomla 3. relies on jquery, loaded in myself. it's included in base template, don't need to. however, custom javascript relies on jquery being loaded first. load them using following form:

code: select all

$document = jfactory::getdocument();
$document->addscript( path script);


they included in header, loaded before jquery.

can direct me toward place change load order of these libraries? in plugin, since jquery seems loaded default?

thanks.

just check template. following code in template

code: select all

<jdoc:include type="head" />

this placeholder javascript.





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support