O'Reilly logo

Mastering Joomla! 1.5 Extension and Framework Development by Chuck Lanham, James Kennard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dealing with plugin settings (parameters)

To deal with plugin settings we can use the ever-handy params tag in our XML manifest file. The next example shows how we can add some simple parameters to a plugin:

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE install SYSTEM "http://dev.joomla.org/xml/1.5/plugin-install.dtd"> <install version="1.5" type="plugin" group="boxoffice"> <name>Revue – Box Office</name> <author>Box Office Software</author> <authorEmail>johndoe@packtpub.com</authorEmail> <authorUrl>http://www.packtpub.com</authorUrl> <creationDate>December 2009</creationDate> <copyright>Copyright 2009, All rights reserved.</copyright> <license>GNU/GPL</license> <version>1.0.0</version> <description>Converts * to star images</description> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required