When you are writing a custom module or component for Mambo you can have parameters which are set in the Admin control panel and feed through to the application at run time. This allows the same code to have separate instances with distinct differences.
Consider when you add a “Latest Content” module to the right hand side of the page. You can specify the category and the sections. When you are setting up syndication you can specify which of the feed types you would like to make available.
This is done through parameters. I had a hunt for a list of the parameter types and couldn’t find one so, here goes!
NB: Parameters can’t be dynamic or dependant on other data in the system – the answers must be hard coded. How you use them is another matter altogether.
Additional textarea parameters
hide_default=”1″ < -- a parameter used by the weblinks module for imagelist Spacer is purely for layout purposes.
name is the parameter name which will be referenced in the component or module.
type is the type of parameter so that Mambo generates the right html.
label is the label shown on the form.
default is the default value which can be used to prevent a blank value.
description is shown in the mouseover on the help button.
size is the maximum number of characters which can be entered into a text parameter
This information may change over time, so if you are developing Mambo components and modules you may benefit from bookmarking this page.