Skip to content
GitLab
Menu
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
a8a05937
Commit
a8a05937
authored
Sep 01, 2018
by
Carsten Rose
Browse files
F4996: Log QFQ Update with timestamp.
parent
5c3c758b
Pipeline
#811
passed with stage
in 2 minutes and 2 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
a8a05937
...
...
@@ -6488,14 +6488,21 @@ is allowed to access: ::
Excel export
^^^^^^^^^^^^
'On the fly'-creation of an excel file. The file is build in the moment when the user clicks on the download button.
Hint: For up/downloading of excel files (no modification), check the generic Form
`input-upload`_ element and the report 'download' (`column_pdf`_) function.
Mode:
This chapter explains how to create Excel files on the fly.
The Excel file is build in the moment when the user request it by clicking on a
download link.
Mode building:
* `New`: The export file will be completely build from scratch.
* `Template`: The export file is based on an earlier uploaded xlsx file (template). The template itself is unchanged.
Injecting the data is done in the same way in both modes.
Injecting data into the Excel file is done in the same way in both modes: a Typo3 page (rendered without any HTML header
or tags) contains one or more Typo3 QFQ records. Those QFQ records will create plain ASCII output.
If the export file has to be customized (colors, pictures, headlines, ...), the `Template` mode is the preferred option.
IT's much easier to do all cusomizations via Excel and creating a template than by coding in QFQ / Excel export notation.
...
...
extension/qfq/qfq/database/Database.php
View file @
a8a05937
...
...
@@ -951,7 +951,9 @@ class Database {
}
/**
*
* @return string
* @throws CodeException
* @throws UserFormException
*/
public
function
getQfqLogFile
()
{
return
(
$this
->
store
==
null
)
?
SYSTEM_QFQ_LOG_FILE
:
$this
->
store
->
getVar
(
SYSTEM_QFQ_LOG
,
STORE_SYSTEM
);
...
...
extension/qfq/qfq/database/DatabaseUpdate.php
View file @
a8a05937
...
...
@@ -127,7 +127,7 @@ class DatabaseUpdate {
$this
->
db
->
playSqlFile
(
__DIR__
.
'/../../sql/formEditor.sql'
);
$qfqLog
=
$this
->
db
->
getQfqLogFile
();
Logger
::
logMessage
(
"
Updated from QFQ version '
$old
' to '
$new
'"
,
$qfqLog
);
Logger
::
logMessage
(
date
(
'Y.m.d H:i:s '
)
.
":
Updated from QFQ version '
$old
' to '
$new
'"
,
$qfqLog
);
// Finally write the latest version number.
$this
->
setDatabaseVersion
(
$new
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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