Mambo Open Source/Create a simple module

From Wikibooks, open books for an open world
< Mambo Open Source
Jump to: navigation, search
TOC
Chapters
Home
Configuration
Design
Content
Developement
Miscellaneous


This is an explanation on how to create a module. The functions of the module will be very limited, but this article shows you a little bit about the framework of modules.

Creating the files[edit]

For this module you will need two files: mod_testing.php and mod_testing.xml. Create these two files and move on to the next step.

The PHP parameters are values that can be changed in Mambo's admin interface, with no need of coding etc.

The XML file[edit]

The xml file is a reference file for Mambo that gives mambo info about author of the modules, the parameter list, installation guides and so on.