Color form field type

From Joomla! Documentation

Revision as of 13:58, 11 August 2015 by MATsxm (talk | contribs) (Marked this version for translation)
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français

Provides a color picker. Enter the color as #ff00ff or pick it from the palet.

  • name (mandatory) is the unique name of the parameter.
  • type (mandatory) must be chromestyle.
  • default (optional) provides a color when not set.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description (optional) (translatable) tooltip for the form field.

Example XML Definition:

<field name="backgroundcolor" type="color" default="#eee"
	label="TPL_BEEZ3_FIELD_HEADER_BACKGROUND_COLOR_LABEL"
	description="TPL_BEEZ3_FIELD_HEADER_BACKGROUND_COLOR_DESC" />