ModuleTag form field type

From Joomla! Documentation

Revision as of 09:24, 27 May 2019 by Wilsonge (talk | contribs) (Fix syntax error and add highlighting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
English • ‎Nederlands • ‎español • ‎français

Provides a list of html5 elements (used to wrap a module in).

  • type (mandatory) must be moduletag.
  • name (mandatory) is the unique name of the field.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.

Example XML Definition:

<field name="module_tag" type="moduletag"
	label="COM_MODULES_FIELD_MODULE_TAG_LABEL"
	description="COM_MODULES_FIELD_MODULE_TAG_DESC"
	default="div" />