A plugin is a tool that provides functions linked to trigger events. CMS Joomla is equipped with a set of these core events, and they can be triggered by any extension, not just a plugin. When a certain event takes place, all plugin type functions associated with it are executed in a series. Events can be triggered by the core of the CMS or a third party module or component.
Plugins are thus a good way to extend platform functionality. They have the added benefit of offering developers a means of enabling other extensions to respond. A plugin is installed like a module, component, template, or any other extension.
The Page Navigation plugin allows a user to add a TOC (Table of Contents) format to all created texts. It has two basic parameters. When you click on “Basic Options”, you will see that one parameter lets you choose whether the TOC appears above or below the main text body, while the other allows you to select whether it appears above the title and other text. Then, all you need to do is press “save” to save the configuration of your choice.
Plugin Parameter Editing
A lot of Joomla plugins have parameters that make it possible to customize features without needing to change the code. To edit your parameters, go to “Extensions” in the backend menu of the system and click on “Plugin Manager”. A list of all the plugins available on the website will be displayed. Click on “Help” to see the full data on what functions can be executed on this screen.
Plugins for Developers
The JPlugin class was introduced by Joomla 1.5 in order to make the content management system move toward a more effective subject-oriented framework. This plugin system for developers was designed on the basis of the so-called observer pattern, a software design pattern where the subject maintains a list of observers (dependents) and informs them of any state changes automatically, usually by taking one of their methods into account.
The observer pattern is mostly used to execute distributed event handling systems. Most modern programming languages such as Java and C# have integrated event constructs, which execute the observer pattern parts to enable short code and easy programming.
This pattern is also a key component in a wide variety of programming libraries and systems, including the MVC (model view controller) architectural pattern and almost all GUI toolkits.