/frog_jquery

Add jQuery to Frog CMS admin interface.

Primary LanguagePHP

What?

Plugin to add jQuery to Frog CMS admin interface. By using this plugin instead of manually including jQuery plugin developers can be sure jQuery library does not get accidentally included several times. Also there is no need to instruct users to manually edit Frog CMS layout files.

Install

Copy plugin files to frog/plugins/jquery/ folder.

cd frog/plugins/
git clone git://github.com/tuupola/frog_jquery.git jquery

or

cd frog/plugins/
wget http://www.appelsiini.net/download/frog_jquery.tar.gz
tar -xzvf frog_jquery.tar.gz

Go to admin and enable jQuery plugin.

Usage

Plugin forces jQuery to be in noconflict mode. You can use $ shortcut normally like this:

jQuery(function($) {
    $('#someid').show();
});