Params.filelist.jpg

The filelist form field type provides a drop down list of files from a specified directory. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.

By default, the first item on the list is '- Do not use -' (which is translatable) and is given the value '-1' and this is followed by '- Use default -' (also translatable) given the value '0'.

Example XML field definition:

<field name="myfile" type="filelist" default="" label="Select a file" description="" directory="administrator" filter="" exclude="" stripext="" />

[edit] See also

License: Joomla! Electronic Documentation License
Source page: http://docs.joomla.org/Filelist_form_field_type
Page retrieved: 0.327 seconds, 2.19 MB

Top