Contenttype form field type

From Joomla! Documentation

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Other languages:
English • ‎Nederlands • ‎español • ‎français

Provides a list of content types.

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

Example XML Definition:

<field name="types" type="contenttype"
	label="COM_TAGS_FIELD_TYPE_LABEL"
	description="COM_TAGS_FIELD_TYPE_DESC"
	multiple="true" />