What Parameters Are Available for Joomla extensions?
Written by Li   

Modules, plug-ins, and components all allow you to define configuration parameters through XML files. Many common parameter types are predefined and can be used in Joomla extensions. Every parameter you define must have five basic attributes.

  1. Parameter name, so you can reference it later in your code.
  2. A default value to be displayed and used if no value is chosen.
  3. A visible label
  4. A description appearing when the mouse cursor hovers over it
  5. The type of parameter

A categorized list is below:

Content

section - All published sections in a list category - All published categories in a list

Text Input

text - A standard text input

textarea - A plain textarea field

password - A standard text input where the characters are masked as they are entered editors - Provides the admin's currently chosen WYSIWYG editor for input

Selections

menu - All published menus in a lis

t menuitem - All published menu items in a list

filelist - A list of files to choose from, given a base folder path

folderlist - A list of folders to choose from, given a base folder path

imagelist - A list of images to choose from, given a base folder

path list - A list of items to choose from (hardcoded into parameter definition)

radio - A list of radio selection items to choose from (hardcoded into parameter definition) sql - Creates a dropdown list out of a provided SQL query

Predefined

helpsites - A list of websites powering help file translations to choose from

languages - A list of installed languages to choose from

spacer - Creates a visual separation between parameters; no input value is required timezones - A list of all world timezones

Other

hidden - Creates a hidden form element with the value and name provided




Tags: Joomla  extensions  parameters  
 
Recommend Read