gz,
.tar, .tar.gz, and zip. There is no specific naming convention for plugin archive
files; however, the following is often used: plg_name-version. For example, the
package for version 1.0.0 of My Extension would be called plg_myextension-1.0.0.
When you package a plugin, ensure you do not include any system files.
Apple Mac developers should be especially vigilant and consider using
the CleanArchiver utility http://www.sopht.jp/cleanarchiver/.
Plugin Design
[ 162 ]
Within the package, as well as the plugin files, there is a special XML manifest file,
which describes the plugin.
Interestingly there is no specific name that we are expected to use for the XML file.
When we install a plugin Joomla! will interrogate all the XML files it can find in the
root of the archive until it finds a file that it believes to be a Joomla! installation XML
manifest file.
If you want to use a standard naming convention for your XML manifest file, you
should consider using the name of the plugin element. For example, if the plugin
element is foobar you might want to call the XML manifest file foobar.
Pages:
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230