Actions

ModuleTag form field type

From Joomla! Documentation

Revision as of 18:27, 11 September 2013 by Sovainfo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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" />