Mootools Enabler/Disabler User's Guide Mootools Enabler/Disabler - User's Guide

Table of Contents

1. Description ...... 3 1.1. General description...... 3 1.2. Features...... 3 1.3. Author & License...... 3 1.4. Requirements...... 3 2. Install & configuration ...... 4 2.1. Install...... 4 2.2. Configuration...... 5 2.3. Plugin Options...... 6 2.3.1. Default Mode ...... 6 2.3.2. Aditional Scripts ...... 6 2.3.3. Autoenabled Components ...... 6 2.3.4. Autoenable for content editing (default enabled) ...... 7 2.3.5. Autoenable for com_users (default enabled) ...... 7 2.4. Activation per menu item...... 7 3. Uninstall ...... 7 4. Support ...... 8

2 / 8 Mootools Enabler/Disabler - User's Guide

1. Description

1.1. General description

Mootools Enabler/Disabler is a ! plugin for Joomla! 2.5.x and Joomla! 3.0.x that allows the site administrator to decide how and when load Mootools in website. In Joomla! 2.5.x Mootools is always loaded in Joomla! You cannot disable it. In Joomla! 3.0.x Mootools is only loaded when extensions need it but you may still need help to disable it directly from the backend.

1.2. Features

• Save up to 500KB in page load. • Avoid jQuery conflicts. • Select the default Mootools mode between enabled or disabled. • Enable or disable Mootools per menu entry. • You can manually add extra scripts to disable. • Nulls all the window.addEvent calls and removes all the Jcaption calls to ensure that you have no dependency errors. • Autoenable mootools in frontend for content editing. • Autoenable mootools per component (thanks to Hans Kuijpers).

1.3. Author & License

This plugin was originally developed by Roberto Segura López (@phproberto) and is owned and maintained by Digital Disseny (http://digitaldisseny.com). Is licensed under the GNU General Public License, version 2 (GNU / GPL2). License details: http://www.gnu.org/licenses/gpl-2.0.html

1.4. Requirements

• Joomla! 2.5.x or Joomla! 3.0.x site running and able to install extensions.

3 / 8 Mootools Enabler/Disabler - User's Guide

2. Install & configuration

2.1. Install

Download the ZIP file and install it as any other Joomla! Extensions through the Joomla! Extension Manager.

4 / 8 Mootools Enabler/Disabler - User's Guide

2.2. Configuration

After installing the plugin you have to enable and configure it. 1. Go to: Extensions → Plug-in Manager. 2. Search for a plugin called System - Mootools Enabler/Disabler. 3. Click on the name of the plugin to edit.

Now set the plugin status as Enabled and adjust the plugin settings to your needs.

5 / 8 Mootools Enabler/Disabler - User's Guide

2.3. Plugin Options

2.3.1. Default Mode Select the default mode to load Mootools. You can choose between: • Disable Mootools only for specified items. Enabled by default • Enable Mootools only for specified items. Disabled by default.

2.3.2. Aditional Scripts Aditional Scripts that you want to disable with Mootools. Usually that use Mootools and you want to avoid the to load. Insert full URLs comma separated.

2.3.3. Autoenabled Components Here you can add components comma separated that always require Mootools enabled. When the system detects one of this components, Mootools will be loaded. The format is the URL option (i.e. To always enable Mootools for content com_content).

6 / 8 Mootools Enabler/Disabler - User's Guide

2.3.4. Autoenable for content editing (default enabled) Usually frontend article edition requires Mootools enabled. When selected, this option will detect article edition and load Mootools.

2.3.5. Autoenable for com_users (default enabled) Most Frontend user actions like login or profile edition require Mootools enabled. If you enable this setting the plugin will detect com_users actions and load Mootools.

2.4. Activation per menu item

One of the cool features of the plugin is that you can enable or disable Mootools per menu item. You can have Mootools fully disabled on your site except for one menu item that requires it. To use this feature just edit any menu item and look for a panel called Mootools enable/disable. Inside, select the desired Mootools behaviour.

3. Uninstall

To uninstall the extension: 1. Go to Extensions → Extension Manager → Manage.

7 / 8 Mootools Enabler/Disabler - User's Guide

2. Filter by the extension name. For example: Mootools and click Search. 3. Select the plugin and click Uninstall.

4. Support

Even though this plugin is released free, open source and free of charge we are web developers that try to live from our work. So, if you encounter any problem and need our help you have to pay the costs of our services. Feel free to contact us at: • Email: [email protected] • Twitter: @digitaldisseny • Phone: (+34) 963 333 329 Find more information about our services at www.digitaldisseny.com

8 / 8