Add new JS to drupal

Had to add a new js to the drupal framework. Found it was pretty easy to do so. The .info file in the sites/all/themes/themedir/themedir.info had to be changed.

scripts[] = js/jquery-1.10.2.min.js

Followed by clearing the cache from drupal under Administration > Configuration > Development > Performance

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s