File Field Type
The file field type allows you to upload and link to a file.
Parameters
| Parameter | Example |
|---|---|
| Upload Folder | Interfaces with the PyroCMS files module. Create an upload folder in the files module and select it here. |
| Allowed Types | Allowed types separated by pipe characters. Ex: doc|pdf. |
Output
The image field type outputs the following nested variables.
| Variable | Example |
|---|---|
| {{ field_slug:filename }} | Name of the file. |
| {{ field_slug:file }} | Full path to the file. |
| {{ field_slug:ext }} | The file extension. |
| {{ field_slug:mimetype }} | The file mimetype. |
