Media form field type
From Joomla! Documentation
(Difference between revisions)
(Summarize the main XML attributes of the JFORM field type "media") |
m (moved Media parameter type to Media form field type: This is a form field, not a parameter.) |
Revision as of 11:38, 20 May 2011
Attributes: name, type[=media], label, description, directory
The directory attribute should be relative to the top level /images/ folder, so to have the media selector opened with the directory /images/stories/ already selected:
<field name="image0" type="media" directory="stories" />