daux.io/docs/cms/05_Config/15_Fields/File.md
2013-06-21 10:49:05 -05:00

396 B

Creates a single file upload field.

TodayCMS File

"file": {
    "title": "File Field",
    "type": "file"
}

Returns an array.

[file] => Array
    (
        [caption] =>
        [date] => 11/1/2012
        [url] => http://todaycms.s3.amazonaws.com/...filename.pdf
        [name] => filename.pdf
    )