JQuery Plugin for Joomla

Sunday, December 20, 2009 21:08
Posted in category JQuery, Joomla, MyUpdates, News, PHP, Projects

I recently released jQuery plugin for Joomla on joomlaguru.com.np. This is a simple plugin that allows user to use jQuery in Joomla and is based on my tutorial here. This plugin works in two modes and allows user a flexibility to replace or use jquery in conjunction with mootools.  This plugin is released under GNU/GPL and is free as in free beer!

Features

1. Two modes

User can select to replace mootools with jQuery completely or use jQuery in conjunction with mootools. Using jQuery with mootools introduces noConflict features of jQuery and replaces ‘$’ operator with jquery. This allows other libraries to use ‘$’ operator without conflict.

2. Where to use selection

Use can select where to use jQuery. User can choose to use jQuery in frontend and/ or in administrator.

3. Allows other application to check if jquery is loaded.

This plugin also introduces a variable in application session that allows others to check if jquery is loaded or not. The illustration of use is as below\

    $app =& JFactory::getApplication();

        //Check to see if jquery is already included
        if( $app->get('jquery') === true ) {

            //Code here

        }
    else
    {

    //Code here

    }

Here is the screenshot of plugin parameters

License

The module is released under GNU/GPL license and hence users are allowed distribute and modify the module without warranty what so ever. The developer does not bear any liability for the extension.

Download

Download the latest release from the download section of joomlaguru.com.np or you can click here to download the plugin.

Send in your comments and feedbacks on the plugin. Hope you will like the plugin. Happy reading.

VN:F [1.8.3_1051]
Rating: 10.0/10 (3 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)
JQuery Plugin for Joomla10.0103
http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/digg_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/reddit_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/stumbleupon_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/delicious_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/blogmarks_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/google_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/myspace_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/facebook_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/yahoobuzz_32.png http://www.sanjeevshrestha.com.np/wp-content/plugins/sociofluid/images/twitter_32.png
You can leave a response, or trackback from your own site.

3 Responses to “JQuery Plugin for Joomla”

  1. pres says:

    December 24th, 2009 at 9:15 am

    can u give a usage example ? Plugins are usually like “{plugin_name }”. Therefore, unclear how to use.

    UN:F [1.8.3_1051]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.3_1051]
    Rating: 0 (from 0 votes)
  2. Sanjeev says:

    December 24th, 2009 at 10:47 pm

    @pres: The usage is simple. Install the plugin, enable it and you can use the jquery in your codes. You can write jQuery codes in your views, modules, or plugins after the installation. But be advised; you need to use jQuery instead of $ operator if you use jQuery in conjunction with mootools.

    You don’t need to insert any {plugin_name} type of code. This is a system plugin and enhances the core to support jQuery.

    UA:F [1.8.3_1051]
    Rating: 5.0/5 (1 vote cast)
    UA:F [1.8.3_1051]
    Rating: 0 (from 0 votes)
  3. nilambar sharma says:

    February 20th, 2010 at 9:48 am

    nice. very useful and more interesting is that its free as free beer. thanks a lot. :)

    UN:F [1.8.3_1051]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.3_1051]
    Rating: 0 (from 0 votes)

Leave a Reply