Actions

Contentlanguage form field type

From Joomla! Documentation

Revision as of 10:15, 15 September 2013 by Sovainfo (Talk | contribs)

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

provides a list of installed content languages for use in conjunction with the language switcher plugin.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be contentlanguage.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description (optional) (translatable) tooltip for the form field.


Example XML Definition

<field name="language" type="contentlanguage"
        label="JFIELD_LANGUAGE_LABEL"
        description="COM_CATEGORIES_FIELD_LANGUAGE_DESC"
        class="span12 small" >
        <option value="*">JALL</option>
</field>