Strong Like Bull
Strong Like Bull

Reputation: 11297

What is the proper location to place jQuery and or jQuery plugin in a Drupal installation?

I just want it to be at a standard place. Thank You

Upvotes: 1

Views: 86

Answers (2)

marcvangend
marcvangend

Reputation: 5642

jQuery 1.2.6 is already included in Drupal, so you don't need to add that yourself. If you need a newer version of jQuery, I recommend jQuery Update.

To maintain jQuery plugins, you can indeed put them in a folder you like (I would choose sites/all/libraries) or you can consider the jQuery plugin module.

Upvotes: 5

googletorp
googletorp

Reputation: 33275

There's not a single place to put it, but common ones are:

  • Inside a folder in your custom module.
  • sites/all/libraries
  • In your theme's js folder

Upvotes: 0

Related Questions