Contentlanguage form field type

From Joomla! Documentation

This page contains changes which are not marked for translation.
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>