diff --git a/extension/Documentation/Manual.rst b/extension/Documentation/Manual.rst index a957e326860239e743d28951303e5326a600d2ed..bd21e3e514e6d4a7366dce7487885ba93f082401 100644 --- a/extension/Documentation/Manual.rst +++ b/extension/Documentation/Manual.rst @@ -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: 10MB. + * *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 reference 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: +Formatting (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