Contentlanguage form field type

From Joomla! Documentation

Revision as of 17:58, 15 July 2024 by Robbiej (talk | contribs) (Added deprecation notice and link to Joomla Manual)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
English
Stop hand nuvola.svg.png
Warning!

This page has been superseded and is no longer maintained. Please go to Joomla Manual Contentlanguage Field instead


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>