[TYPO3-project-formidable] UPLOAD or FILE renderlet
Manuel Rego Casasnovas
mrego at igalia.com
Wed Oct 24 19:43:37 CEST 2007
Hello Jerome,
Jerome Schneider escribió:
> renderlet:UPLOAD is meant to deal only with file upload, but offers more
> possibilities in file handling
>
> use renderlet:UPLOAD like:
>
> <renderlet:UPLOAD name="myfile" label="My file">
> <data
> targetdir="/var/www/typo3/uploads/"
> overwrite="true|false"
> cleanfilename="true|false"
> multiple="true|false"
> />
> </renderlet:UPLOAD>
>
> It can overwrite if file exists or rename it,
> clean file name if weird chars are found,
> allow field to contain multiple files, comma-separated value
>
I have used the UPLOAD renderlet, and I have updated the wiki with your
explanations [1].
> If multiple, it can be combined with a renderlet:LISTER via a
> datasource:PHPARRAY to handle file list ( delete, view, ... )
>
I'm gonna try the PHPARRAY datasource.
Thank you very much,
Rego
[1] http://wiki.typo3.org/index.php/Formidable#renderlet:UPLOAD
--
Manuel Rego Casasnovas
Computer Science Engineer
mailto:mrego at igalia.com
Tel: +34 986 10 76 10
Fax: +34 981 91 39 49
Igalia - http://www.igalia.com
More information about the TYPO3-project-formidable
mailing list