Campo de formulario, Tipo plugin

From Joomla! Documentation

This page is a translated version of the page Plugins form field type and the translation is 100% complete.
Other languages:
English • ‎Nederlands • ‎español • ‎français

Proporciona una lista desplegable de opciones del plugin desde una carpeta predeterminada.

  • name (obligatorio) es el nombre único del parámetro.
  • type (obligatorio) debe ser plugins.
  • folder (obligatorio) editor o código captcha.
  • label (obligatoria) (traducible) es el título descriptivo del campo.
  • description texto descriptivo para el campo del formulario.

Ejemplo de Definición XML:

<field name="editor" type="plugins" folder="editors"
	description="COM_USERS_USER_FIELD_EDITOR_DESC"
	label="COM_USERS_USER_FIELD_EDITOR_LABEL" >
	<option value="">JOPTION_USE_DEFAULT</option>
</field>
<field name="captcha" type="plugins" folder="captcha"
	label="COM_CONTACT_FIELD_CAPTCHA_LABEL"
	description="COM_CONTACT_FIELD_CAPTCHA_DESC"
	default="" 
	filter="cmd" >
	<option value="">JOPTION_USE_DEFAULT</option>
	<option value="0">JOPTION_DO_NOT_USE</option>
</field>