Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
0b265a8e
Commit
0b265a8e
authored
Jun 02, 2016
by
Carsten Rose
Browse files
UsersManual/index.rst: Upload updated.
parent
a1cc0200
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/UsersManual/Index.rst
View file @
0b265a8e
...
...
@@ -909,13 +909,29 @@ current record either to finalize the upload or to delete a previous uploaded fi
* FormElement. *parameter*:
* *fileDestination*: Destination where to copy the file. A good practice is to specify a relative fileDestination - such an
* *fileDestination*: Destination where to copy the file. A good practice is to specify a relative
`
fileDestination
`
- such an
installation (filesystem and database) are moveable.
* If the final fileDestination should contain the original filename,
the variable *{{_filename}}* can be used. Example::
* If `fileDestination` should contain the original filename,
the variable *{{_filename}}* can be used. Example::
fileDestination={{SELECT 'fileadmin/user/pictures/', p.name, '-{{_filename}}' FROM Person AS p WHERE p.id={{r}} }}
* If a file already exist under `fileDestination`, an error message is shown and 'save' is aborted.
The user has no possibility to overwrite the already existing file. If the whole workflow is correct, this situation
should no arise.
* All necessary subdirectories in `fileDestination` are automatically created.
Deleting a record and the referenced file
.........................................
If the user deletes a record which contains reference(s) to files, such files are deleted too.
Only columns where the columname contains `pathFileName` are checked for file references. Therefore, always choose a
columnanem which contains `pathFileName`.
If there are other records, which references the same file, such files are not deleted (but the record is deleted).
It's a very basic check: just the current column of the current table is compared.
.. _class-action:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment