Actions

Difference between revisions of "Cachehandler form field type"

From Joomla! Documentation

m (cachehandler instead of editor)
 
Line 1: Line 1:
 
provides a list of available cache handling options.
 
provides a list of available cache handling options.
  
* '''type''' (mandatory) must be ''editor''.
+
* '''type''' (mandatory) must be ''cachehandler''.
 
* '''name''' (mandatory) is the unique name of the parameter.
 
* '''name''' (mandatory) is the unique name of the parameter.
 
* '''label''' (mandatory) (translatable) is the descriptive title of the field.
 
* '''label''' (mandatory) (translatable) is the descriptive title of the field.

Latest revision as of 13:48, 10 September 2013

provides a list of available cache handling options.

  • type (mandatory) must be cachehandler.
  • name (mandatory) is the unique name of the parameter.
  • label (mandatory) (translatable) is the descriptive title of the field.
  • description description text for the form field.
  • filter filter to apply, normally use "word".

Example XML Definition

<field name="cache_handler"
        type="cachehandler"
        default=""
        label="COM_CONFIG_FIELD_CACHE_HANDLER_LABEL"
        description="COM_CONFIG_FIELD_CACHE_HANDLER_DESC"
        filter="word">
</field>