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
f4a96f8c
Commit
f4a96f8c
authored
Jan 26, 2018
by
Carsten Rose
Browse files
Manual.rst: Add example for recent list.
parent
525550f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
f4a96f8c
...
...
@@ -3159,7 +3159,7 @@ See also `downloadButton`_ to offer a download of an uploaded file.
* If for a specific filetype is no mime type available, the definition of file extension(s) is possible. This is **less
secure**, cause there is no *content* check on the server after the upload.
* *maxFileSize*: max filesize in bytes (no unit), kilobytes (k/K) or megabytes (m/M) for an uploaded file. Default: 10M
B
.
* *maxFileSize*: max filesize in bytes (no unit), kilobytes (k/K) or megabytes (m/M) for an uploaded file. Default: 10M.
* *fileDestination*: Destination where to copy the file. A good practice is to specify a relative `fileDestination` -
such an installation (filesystem and database) are moveable.
...
...
@@ -3312,7 +3312,7 @@ Table 'Split':
+--------------+--------------------------------------------------------------------------------------------+
| xId | Primary id of the reference record. |
+--------------+--------------------------------------------------------------------------------------------+
| pathFileName | Path/filename referenc to one of the created files
|
| pathFileName | Path/filename referenc
e
to one of the created files |
+--------------+--------------------------------------------------------------------------------------------+
| created | Timestamp |
+--------------+--------------------------------------------------------------------------------------------+
...
...
@@ -6080,7 +6080,7 @@ See `Formatting Examples`_ for examples of how the output can be formatted.
Formatting Examples
^^^^^^^^^^^^^^^^^^^
Formating (i.e. wrapping of data with HTML tags etc.) can be achieved in two different ways:
Format
t
ing (i.e. wrapping of data with HTML tags etc.) can be achieved in two different ways:
One can add formatting output directly into the SQL by either putting it in a separate column of the output or by using
concat to concatenate data and formatting output in a single column.
...
...
@@ -6224,6 +6224,23 @@ Same as above, but written in the nested notation ::
* Columns starting with a '_' won't be printed but can be accessed as regular columns.
Recent List
^^^^^^^^^^^
A nice feature is to show a list with last changed records. The following will show the 10 last modified (Form or
FormElement) forms: ::
10 {
sql = SELECT CONCAT('p:form&r=', F.id, '|t:', F.name,'|c:n|o:', GREATEST(MAX(FE.modified), F.modified)) AS _page
FROM Form AS F
INNER JOIN FormElement AS FE ON FE.formId = F.id
GROUP BY F.id
ORDER BY GREATEST(MAX(FE.modified), F.modified) DESC
LIMIT 10
head = <h3>Recent Forms</h3>
rsep = , 
}
.. _help:
Help
...
...
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