215: Joomla 2.5 Content Plugin Development
How to create a Hello World content plugin for Joomla 2.5
In this first tutorial, we'll show you how to create and install a Joomla 2.5 plugin. In future tutorials, we'll describe what the plugin does in more detail.
How to change the name of a Joomla 2.5 Plugin
In this Joomla 2.5 tutorial, we'll show you how to change the name of a plugin. Most often the plugin name is shown in the Joomla 2.5 Admin
How to change a Joomla 2.5 plugin installation description
When you install a Joomla 2.5 plugin, a description about the plugin is shown after successful installation. In this tutorial, we'll show you how to change this installation message.
How to add a parameter to a Joomla 2.5 plugin
By adding parameters to your plugin, you can allow the user to change how your plugin works. In this tutorial, we'll allow someone to print alternative text, something else besides Hello World.
Understanding Joomla 2.5 plugin parameter fields
There are several attributes within Joomla 2.5 plugin parameters. For example, you should set a label, description, and type. We'll go over these attributes in this Joomla 2.5 tutorial.
Where is Joomla 2.5 plugin information stored?
Joomla 2.5 parameter data is stored in the _extensions table. In this creating a plugin tutorial we'll show you how a plugin is stored in the database.
Basic parameter types in a Joomla 2.5 plugin
When creating Joomla 2.5 plugin parameters, the most common input types are text, radio, and lists. In this tutorial we'll give you example usage of each of these.
Using fieldsets to separate plugin paramenters in Joomla 2.5
Using fieldsets, you can separate your plugin parameters into Basic Options and Advanced Options. We'll go over fieldset names more in this plugin tutorial.
Using Spacers to separate plugin parameters in Joomla 2.5
You can use spacers in a Joomla 2.5 plugin's xml file to separate parameters. We'll show you how to use spacers in this plugin tutorial.
Inserting HTML and links in a Joomla 2.5 plugin settings page
Usage a spacer field type, you can add HTML and links within a plugin's settings page in Joomla 2.5
Joomla 2.5 content plugin events
Your Joomla 2.5 content plugin's PHP code can be executed at different points in the article setup. You can run your code before the article is printed, and at certain points during and after the content is printed to the screen.
Joomla 2.5 content plugin variables
When writing a Joomla 2.5 content plugin, you have access to all of the article's details. In this tutorial we'll go into more detail about the variables and objects passed to your plugin functions.
Use onContentPrepare to change Article text in a Joomla 2.5 plugin
Within a onContentPrepare content plugin function, you can access an article's text and introtext and change it.
How to add a css StyleSheet to a Joomla 2.5 content plugin
You can use the addStyleSheet document function to add external css stylesheets to your Joomla 2.5 plugin.
Using the addScript function, you can setup your Joomla 2.5 plugins to include external js files in your document's header.
Joomla Community Google+ Hangout #3
June 3rd, 2014
Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!
You are NOT logged in. You can still browse our Support Center.
To participate within our Community Support Forum: