Parameters with * will work regardless of jQuery being enabled in the basic options.
* Disable in templates | Disable the plugin in the selected template styles |
Profiles * Template styles |
The template styles the parameters will be applied to |
Profiles * Components |
Enable the parameters in the pages containing one of the selected component(s) |
* Enable only in pages | Enable the parameters in the pages listed only (one path per line) - check the rules below Warning If used, do not set Disable in pages |
* Disable in pages | Disable the parameters in the pages listed only (one path per line) - check the rules below Warning If used, do not set Enable in pages |
Rules
/
will match the home page only/product
will match that page only (path root included)*/product
will match all pages ending with/product
/product*
will match all pages starting with/product
(path root included)*/product*
will match all pages containing/product
Warning Do not enter the root path http://www.mydomain.com/subdomain
Note Joomla 1.6 - 2.5 Prior to version v1.4.3 of the plugin, the rules were slightly different:
*/product
will match all pages containing/product
You must set Paths backward compatibility
to No
(in Others
tab) to use the new rule set. The previous syntax is enabled by default for backward compatibility.
Profiles * Head-only modifications |
Limit the plugin processing to the <head> area of the page (off by default) Note Use when there is no need to check the <body> area. It will improve performance and limit server resources consumption. |
jQuery
Replace when unique | Replaces the jQuery/jQuery UI libraries and/or jQuery UI CSS with the plugin’s choices even when there is only one instance of those present on the page |
Add when missing | Adds the jQuery/jQuery UI libraries and/or jQuery UI CSS to pages that do not have jQuery on them |
Ignore scripts | Makes sure the scripts listed remain on the page and are not stripped out by the plugin (some file names are built in such a way they can be mistaken for a jQuery library). One script per line. Note Joomla 3 The script file media/jui/js/chosen.jquery.min.js is added by default because it is commonly used.
Example |
Strip no conflictcode |
Removes all no conflictscripts and declarations by default. Will get rid of jQuery.noConflict() , $.noConflict() , jQuery.noConflict(true), $.noConflict(true) |
Add no conflictcode |
|
Fix document ready | Replaces all occurrences of $(document).ready(function() or $(document).ready(function($) with jQuery(document).ready(function($) .Using jQuery in the statement is required when using no conflict |
MooTools
Note This only applies to MooTools packaged with the Joomla! framework. If MooTools is loaded externally, it will be considered like any other script.
* Disable when possible | Will disable the MooTools libraries following the following set of rules for safe removal:
|
* Keep in pages | When MooTools is set to be disabled, it can still be enabled in the pages listed (one path per line). The same rules used for Enable only in pagesapply. |
Warning Disable MooTools at your own risk.
You may break some features (search filters functionality and frontend article submission for instance), especially with Joomla! 2.5 and under.
If your Joomla website does not use MooTools, you will benefit from disabling it:
- it will increase the page load speed by removing unneeded javascript code,
- it will eliminate conflicts between MooTools and jQuery.
Bootstrap
Load before UI | Forces the Bootstrap library to load before the jQuery UI library (when both are present) |
* Button fix |
|
* Replacement function | The function that can be used instead of button by Bootstrap when choosing the Boostrap fix or by jQuery UI when choosing the jQuery UI fix |
* Tooltip fix |
|
* Replacement function | The function that can be used instead of tooltip by Bootstrap when choosing the Boostrap fix or by jQuery UI when choosing the jQuery UI fix |
* Disable tooltips | Removes the tooltip script declaration added by Joomla (containing .hasTooltip ) |
* Replace function | Will replace the function name tooltip with the tooltip replacement function in the script declaration containing .hasTooltip |
Others
* Disable Captions | Gets rid of JCaption. Note Until Joomla! 3.1, the code was associated with MooTools. Since then, it is a jQuery script. |
Strip remaining scripts | Get rid of the scripts that have not been automatically removed by the plugin but still need to be stripped out (one path per line). The path is the content of the srcattribute of the script tag. Example |
Strip remaining stylesheets | Get rid of the stylesheets that have not been automatically removed by the plugin but still need to be stripped out (one path per line). The path is the content of the hrefattribute of the link tag. Example |
* Add scripts | Add javascripts (one path per line)
Example Examples |
* Add script declarations | Add javascript declarations.
Example |
Profiles * Add jQuery declarations |
This includes the scripts into a document.ready close. Add any jQuery code referenced with $. This code is included AFTER the button and tooltip fix code, allowing the re-assignment of the new functions to elements on the page. Example |
* Add styles | Add CSS stylesheets (one path per line).
Example |
* Add style declarations | Add CSS styles.
Example |
* Strip blank lines | Removes the blank lines created by the plugin’s cleaning. Note Disabled by default because it may slow down the loading of long pages. |
Note Scripts and stylesheets are added after all the plugin modifications and before the removal of blank lines. Therefore the scripts can contain any jQuery code without the risk of being removed by the plugin. Moreover, the script declarations are added in front of any other script declaration added by other extensions on the page.