Where Determine to load Jquery or not?

  • bkmhjt
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
15 years 1 month ago #850 by bkmhjt
Hello,

Like the looks of your stuff.

I am not quite a Joomla noob, but still lots to learn.

One question I have is where do I determine to load jquery or not? Been poking through the BE on one of my sites, and have not found anything in System, etc...Lots of PHP info though.

Thanks in advance.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
15 years 1 month ago #851 by milos
It's in module itself. So, open Module Manger and click on (in example) Hot Image Slider and you will find option to load jQuery or not. If loading on jQuery library is included in your Joomla template, you can disable it in module. Otherwise, you must enable it.

Please Log in to join the conversation.

  • bkmhjt
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
15 years 1 month ago #856 by bkmhjt
Hi,

Thank you, you helped resolve one part of my problem.

The other part I am trying to figure out is if jquery is used by my template already. Not sure where to find that info in the Joomla BE.

Thanks again for the help.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
15 years 1 month ago #857 by milos
To find out, you have to check Source code of your site (in Firefox, CTRL+U). Then search for "jQuery". Check if it's loaded by module, or by template, or by both (that's not needed).

Please Log in to join the conversation.

  • bkmhjt
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
15 years 1 month ago #858 by bkmhjt
Thanks.

Looks like it is being added to the template if I understand things correctly.

Jquery not mentioned in source code any other place.

<script language="javascript" type="text/javascript" src=" www.sitename.com/templates/templatename/js/jquery.js ">

Also, how do I determine which version of jquery is being used? I think I saw in another post that it is important too.

Thanks again.

Please Log in to join the conversation.

Time to create page: 0.155 seconds
Powered by Kunena Forum