This field allows you to add directly an attached file from the item input form (tiki-view_tracker.php or tiki-view_tracker_item.php) or from the TRACKER plugin.
The user will be prompted to browse and select a file. when the item is saved, the file is put in the tracker attachments. When the user views an item with such field, he will see an icon to download the file. When a user edits an item where he is the owner of the attachment, he can browse and upload another file or delete the file if he is the owner.
What it can look like in a input view:
What it can look like in a tracker list:
|listview||n or t or s or m or nt ... or nts||To display before the download button some information like filename or type or size(use nts to display name+size+type). Be careful, this option will cost a query to the database for each attachment and can slow down terribly the performance||tw>=1.10. m (tw>=4.0 will display the mediaplayer plugin on the attachement|
To download an attachment with an url, use
- tiki-download_item_attachment.php?attId=1 (replace 1 with the attachment ID)
- tiki-download_item_attachment.php?itemId=1&fieldId=2 (replace 1 with the itemId and 2 with the fieldId)
- the tracker must use attachments
- the user must have the permission to attach files tiki_p_attach_trackers