Actions

J2.5 talk

Difference between revisions of "Creating a Plugin for Joomla"

From Joomla! Documentation

(Created page with "This page is a little difficult to understand, as <install> is mentioned at the beginning, however not included into the xml file. Group, being important, is not included eith...")
 
Line 1: Line 1:
This page is a little difficult to understand, as <install> is mentioned at the beginning, however not included into the xml file. Group, being important, is not included either. I would suggest that perhaps a completed plugin file of the completed code be included as as well, just like the components section to help better understand some of the logic behind Joomla.
+
Just a few things I noticed should be cleared up.
 +
 
 +
'''As you can see, the system is similar to other Joomla! XML installation files. You only have to look out for the group="xxx" entry in the <install> tag and the extended information in the <filename> tag. This information tells Joomla! into which folder to copy the file and to which group the plugin should be added.'''
 +
 
 +
The XML is indeed similar to the other 2.5 Joomla XML Installation Files, however;
 +
* Note that the <install> tags are now <extension>
 +
* Group type is <extension version="2.5" type="plugin" group="search"> instead of <install version=... >
 +
 
 +
 
 +
Also, would be awesome to see an end plugin there, or an alternative tutorial such as [[Creating_a_search_plugin|Creating a Search Plugin]]
 +
- Bladeoz

Revision as of 23:57, 7 July 2013

Just a few things I noticed should be cleared up.

As you can see, the system is similar to other Joomla! XML installation files. You only have to look out for the group="xxx" entry in the <install> tag and the extended information in the <filename> tag. This information tells Joomla! into which folder to copy the file and to which group the plugin should be added.

The XML is indeed similar to the other 2.5 Joomla XML Installation Files, however;

  • Note that the <install> tags are now <extension>
  • Group type is <extension version="2.5" type="plugin" group="search"> instead of <install version=... >


Also, would be awesome to see an end plugin there, or an alternative tutorial such as Creating a Search Plugin - Bladeoz