Hi,
we need the functionality that the restriction of the folder is also be used for the upload. The code below restricts the folders for the selection of a new Media File. All uploaded media files will be placed directly under the subfolder. Now it wheres cool when I can show the customer the same restricted view of folders like the selection for one file.
<FS_REFERENCE name="st_media_file" allowEmpty="no" hFill="yes" upload="yes">
<FILTER>
<ALLOW type="media"/>
</FILTER>
<LANGINFOS>
<LANGINFO lang="*" label="Media File"/>
</LANGINFOS>
<PROJECTS>
<LOCAL name="." uploadFolder="subfolder">
<SOURCES>
<FOLDER name="subfolder" store="mediastore"/>
</SOURCES>
</LOCAL>
</PROJECTS>
</FS_REFERENCE>
We need a way to show a restricted view for the upload folder popup. It must be possible to select a subfolder where the file is placed from the upload.
Link to the actual docs: FirstSpirit Online Documentation - FS_REFERENCE
Have a great day,
Michael