Joomla is one of the top three most popular open source content management systems (CMS) in use on the Web.
The following has been tested on Joomla 1.5 so mileage may vary but probably also works on later versions.
1) You’ll need to open up the index.php Joomla file in a text editor. The file can be found in whatever theme folder is currently your default.
2) Add these lines of code:
immediately before the
<jdoc:include type="head" />
You should now have jQuery running on your page.
If you have Firefox with the FireBug extension, you can test
it by cache refreshing your Joomla Homepage (Ctrl + F5),
opening Firebug (F12), and testing the jQuery version
Open up Firebug.
Click on Console.
Enter the command,
You should see
or similar on the left of the screen.
Hail the mighty Fox!
than downloading and installing your own version of jQuery.
Why it’s best practice.
a) You are getting a compressed version of jQuery (17KB instead of about 80KB)
b) Parallel downloading the library speeds your page load time
c) Fair chance the user already has the Google jQuery file cached in their
browser. More and more developers are taking the same approach.