Media form field type

From Joomla! Documentation
(Difference between revisions)
Jump to: navigation, search
(Summarize the main XML attributes of the JFORM field type "media")
 

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" />

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox