Actions

ModulePosition form field type

From Joomla! Documentation

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

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

provides a text input to set the position of a module.

  • type (mandatory) must be moduleposition.
  • 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="position" type="moduleposition"    
        description="COM_MODULES_FIELD_POSITION_DESC"
        label="COM_MODULES_FIELD_POSITION_LABEL"
        default=""
        maxlength="50" />