The Joomla! Extensions Directory ™


jQuery Plugin Plugin

Editor's Note
  • This extension requires registration to download.
The plugin adds jQuery & jQuery UI capability along with 25 jQuery UI themes support to your components and modules.

Features:
* Load jQuery & jQuery UI libraries from Google CDN or local files
* Load jQuery UI themes (currently 25 themes available) from Google CDN or local files
* Choose the theme right from your plugin configuration
* jQuery Form plugin support

The plugin can be used by developers to enable jQuery support in their components and modules. Make sure you do not include jQuery or its plugins mentioned below are not loaded directly using script tag or other way in your components else the libearies will be loaded twice.

Usage:
With this plugin enabled, supported Joomla components/modules/plugins can simply call the below code to include selected jQuery & jQuery plugins:

JPluginHelper::importPlugin( 'corejoomla' );
$dispatcher =& JDispatcher::getInstance();
$dispatcher->trigger('onCallIncludeJQuery', array($params));

If you pass $params as an empty array, the selected libraries in the plugin configuration are loaded. You can override what libraries you want to load from your component/module by passing required paramters through $params variable as shown below

$params = array('jquery','jqueryui','jqueryform');

Supported Libraries as of v1.0.0

* jQuery
* jQuery UI (including 25 themes from ThemeRoller, can be selected from plugin configuration only)
* jQuery Form Plugin

Report

Images
2011-05-04
Reviews: 2
While the other peson commenting on this got it to work I simply could not. I went to your site, got the plugin and it would not work. I then tried to look for anything documented on this "php coding" I would have to install and could not find that either. I then checked the tabs for any other documentation regarding a section with more detailed instructions and nothing again. Finally I saw two topics in a misc forum which spoke of other products instead of this mainly. I had high hopes for this but sadly I can not get it to work. I hope someone else has better luck. I gave it a fair rating cause time and effort was placed into it and someone else did mention it worked for them. Ill find something else. Thank you tho.
Owner's reply

Thank you for your feedback and sorry for the inconvenience caused to you.

You could have dropped a mail or write in forum so that we could guide you in right direction which could avoid the time you took for researching.

Anyway, the complete documentation was posted beside the download which you might have missed, the plugin can be used only by adding few lines of code in your PHP files which is basically intended for developers or users with some PHP knowledge.

It will not add jQuery libraries just by installing rather adds them by calling the plugin through code. This helps in avoiding the libraries loaded on all pages whether required or not.

We will be glad to assist you in integrating with your components/site, please drop in a message on our forum.

2010-11-02
Reviews: 2
I have been looking for an easy way to include jQuery into the head of my document. This just fit the bill. does exactly what it says. i just took a star off because it wasnt 100% clear that in order to make it work i needed to include the php code in my template... no biggie, but spent a while trying to figure out why it didnt work right away. also, they need to find a way to be sure this imports into the page right after mootools or in its spot if its not installed --the way mootools does.. always first. otherwise if components load in before it, they error out...
Owner's reply

Hello,

Thank you very much for the review and suggestions. We posted all the instructions right beside the download page and also set up forums for any clarifications required. Our plugin is designed in such a way that you need not bother about when MooTools is loaded. It just works without a single conflict. If you have any queries, please feel free to post in our forums.