Commit ac48eec7 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Index.rst: add some keywords to the description.

Manual.rst: fixed some typos, added three more examples to _pdf
config.qfq.example.ini: Remove DB_NAME_TEST, Add some details about SQL_LOG, add example for TECHNICAL_CONTACT
parent 9c2863ca
...@@ -30,7 +30,7 @@ QFQ Extension ...@@ -30,7 +30,7 @@ QFQ Extension
* Create reports based an SQL queries. The SQL can be nested and offers support for any kind of tags. * Create reports based an SQL queries. The SQL can be nested and offers support for any kind of tags.
:Keywords: :Keywords:
Quick Form Query, Form, Report, SQL, Query, Generator. Quick Form Query, Form, Report, SQL, Query, Generator, Framework, Secure, Mobile Ready, Responsive.
:Copyright: :Copyright:
2017 2017
......
...@@ -3876,7 +3876,7 @@ Parameter and (element) sources ...@@ -3876,7 +3876,7 @@ Parameter and (element) sources
Most of the other Link-Class attributes can be used to customize the link as well. Most of the other Link-Class attributes can be used to customize the link as well.
Example: :: Example `_link`: ::
# single `file`. Specifying a popup message window text is not necessary, cause a file directly accessed is fast. # single `file`. Specifying a popup message window text is not necessary, cause a file directly accessed is fast.
SELECT "d:file.pdf|s|t:Download|f:fileadmin/pdf/test.pdf" AS _link SELECT "d:file.pdf|s|t:Download|f:fileadmin/pdf/test.pdf" AS _link
...@@ -3885,16 +3885,35 @@ Example: :: ...@@ -3885,16 +3885,35 @@ Example: ::
SELECT "d:file.pdf|m:pdf|s|t:Download|f:fileadmin/pdf/test.pdf" AS _link SELECT "d:file.pdf|m:pdf|s|t:Download|f:fileadmin/pdf/test.pdf" AS _link
# three sources: two pages and one file # three sources: two pages and one file
SELECT "d:complete.pdf|s|t:Complete PDF|U:id=detail&r=1|U:id=detail2&r=1|f:fileadmin/pdf/test.pdf" AS _link AS _link SELECT "d:complete.pdf|s|t:Complete PDF|U:id=detail&r=1|U:id=detail2&r=1|f:fileadmin/pdf/test.pdf" AS _link
# three sources: two pages and one file # three sources: two pages and one file
SELECT "d:complete.pdf|s|t:Complete PDF|U:id=detail&r=1|U:id=detail2&r=1|f:fileadmin/pdf/test.pdf" AS _link AS _link SELECT "d:complete.pdf|s|t:Complete PDF|U:id=detail&r=1|U:id=detail2&r=1|f:fileadmin/pdf/test.pdf" AS _link
# three sources: two pages and one file, parameter to wkhtml will be SIP encoded # three sources: two pages and one file, parameter to wkhtml will be SIP encoded
SELECT "d:complete.pdf|s|t:Complete PDF|U:id=detail&r=1&_sip=1|U:id=detail2&r=1&_sip=1|f:fileadmin/pdf/test.pdf" AS _link AS _link SELECT "d:complete.pdf|s|t:Complete PDF|U:id=detail&r=1&_sip=1|U:id=detail2&r=1&_sip=1|f:fileadmin/pdf/test.pdf" AS _link
# three sources: two pages and one file, the second page will be in landscape and pagesize A3 # three sources: two pages and one file, the second page will be in landscape and pagesize A3
SELECT "d:complete.pdf|s|t:Complete PDF|U:id=detail&r=1|U:id=detail2&r=1&--orientation=Landscape&--page-size=A3|f:fileadmin/pdf/test.pdf" AS _link AS _link SELECT "d:complete.pdf|s|t:Complete PDF|U:id=detail&r=1|U:id=detail2&r=1&--orientation=Landscape&--page-size=A3|f:fileadmin/pdf/test.pdf" AS _link
..
Example `_pdf`, `_zip`: ::
# File 1: id=1&--orientation=Landscape&--page-size=A3
# File 2: U:id=form
# File 3: f:fileadmin/file.pdf
SELECT 't:PDF|a:Creating a new PDF|U:id=1&--orientation=Landscape&--page-size=A3|U:id=form|f:fileadmin/file.pdf' AS _pdf
# File 1: U:id=1
# File 2: u:http://www.example.com
# File 3: f:fileadmin/file.pdf
SELECT 't:PDF - 3 Files|a:Please be patient|U:id=1|u:http://www.example.com|f:fileadmin/file.pdf' AS _pdf
# File 1: U:id=1
# File 2: U:id=form
# File 3: f:fileadmin/file.pdf
SELECT CONCAT('t:ZIP - 3 Pages|a:Please be patient|U:id=1|U:id=form|f:', p.pathFilename) AS _zip
.. ..
......
...@@ -7,11 +7,11 @@ DB_SERVER = <DBSERVER> ...@@ -7,11 +7,11 @@ DB_SERVER = <DBSERVER>
DB_PASSWORD = <DBPW> DB_PASSWORD = <DBPW>
DB_NAME = <DB> DB_NAME = <DB>
DB_NAME_TEST = <TESTDB>
DB_INIT = set names utf8 DB_INIT = set names utf8
SQL_LOG = sql.log ; '../../sql.log' = <T3 Install directory>/typo3conf/sql.log
SQL_LOG = ../../sql.log
; all, modify ; all, modify
SQL_LOG_MODE = modify SQL_LOG_MODE = modify
...@@ -33,6 +33,9 @@ CSS_CLASS_QFQ_FORM_BODY = qfq-color-grey-2 ...@@ -33,6 +33,9 @@ CSS_CLASS_QFQ_FORM_BODY = qfq-color-grey-2
; yyyy-mm-dd, dd.mm.yyyy ; yyyy-mm-dd, dd.mm.yyyy
DATE_FORMAT = yyyy-mm-dd DATE_FORMAT = yyyy-mm-dd
; Access via {{TECHNICAL_CONTACT:Y}}
; TECHNICAL CONTACT = john@doe.com
; validator.js: data-pattern-error="", data-required-error="", data-match-error="", data-error="" ; validator.js: data-pattern-error="", data-required-error="", data-match-error="", data-error=""
;FORM_DATA_PATTERN_ERROR = ;FORM_DATA_PATTERN_ERROR =
;FORM_DATA_REQUIRED_ERROR = ;FORM_DATA_REQUIRED_ERROR =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment