-
Book Overview & Buying
-
Table Of Contents
Mastering Joomla! 1.5 Extension and Framework Development Second Edition
An important part of building modules is dealing with module settings. We can define custom parameters for modules in the module XML manifest file. Module parameters fall into two groups: Module Parameters and Advanced Parameters.
There is no difference in the application of Module Parameters and Advanced Parameters; we split them into two groups to help the classification of the parameters, consequently making the administrator's job easier.
As a general rule, Module Parameters are the more basic, although generally more fundamental, of the two. Advanced Parameters pertain to settings that are more complex and are rarely modified.
Here we modify our module manifest file to show how to add parameters:
<?xml version="1.0" encoding="UTF-8"?>
<install type="module" version="1.5.0" client="site">
<name>Critics Choice</name>
<author>Box Office Software</author>
<authorEmail>[email protected]</authorEmail...
Change the font size
Change margin width
Change background colour