f:company@example.com|s:Latest News|b:The new version is now available.|r:sales@example.com|A:on|g:101|x:222|c:ceo@example.com|B:backup@example.com" AS _sendmail
...
...
@@ -6117,9 +6049,7 @@ Any combination (incl. repeating them) are possible. Any source will be added as
Optional any number of sources can be concatenated to a single PDF file: 'C|F:<file1>|F:<file2>|p:export&a=123'.
Examples in Report:
.. code-block:: typoscript
Examples in Report::
# One file attached.
10.sql = SELECT "t:john.doe@example.com|f:company@example.com|s:Latest News|b:The new version is now available.|F:fileadmin/summary.pdf" AS _sendmail
...
...
@@ -6149,9 +6079,7 @@ Renders images. Allows to define an alternative text and a title attribute for t
* If no alternative text is defined, an empty alt attribute is rendered in the img tag (since this attribute is mandatory in HTML).
* If no title text is defined, the title attribute will not be rendered at all.
**Syntax**
.. code-block:: typoscript
**Syntax** ::
10.sql = SELECT "<pathtoimage>|[<alttext>]|[<titletext>]" AS _img
...
...
@@ -6167,16 +6095,12 @@ Renders images. Allows to define an alternative text and a title attribute for t
sendMailAttachment={{SELECT'd:Letter.pdf|t:', p.firstName, '', p.name, '|p:id=letterbody&pId=', p.id, '&_sip=1&--margin-top=50mm&--margin-bottom=20mm&--header-html={{BASE_URL_PRINT:Y}}?id=letterheader&--footer-right="Seite: [page]/[toPage]"&--footer-font-size=8&--footer-spacing=10' FROM Person AS p WHERE p.id={{id:S}} }}
Replace the static content elements from 2. and 3. by QFQ Content elements as needed:
.. code-block:: typoscript
Replace the static content elements from 2. and 3. by QFQ Content elements as needed::
10.sql = SELECT '<divclass="letter-receiver"><p>', p.name AS '_+br', p.street AS '_+br', p.city AS '_+br', '</p>'
FROM Person AS p WHERE p.id={{pId:S}}
...
...
@@ -6775,9 +6680,7 @@ Create a output like this: ::
ThisfillsD11,E11,F11,D12
InReportSyntax:
..code-block::typoscript
InReportSyntax::
#With...AS_XLS(tokenexplicitgiven)
10.sql=SELECT'position=D10'AS_XLS,
...
...
@@ -6803,9 +6706,7 @@ In Report Syntax:
.. _`excel-export-sample`:
Excel export samples:
.. code-block:: typoscript
Excel export samples::
# From scratch (both are the same, one with '_excel' the other with '_link')
SELECT CONCAT('d:new.xlsx|t:Excel(new)|uid:54') AS _excel
...
...
@@ -6864,9 +6765,7 @@ A `<div>` example HTML output (HTML send to the browser): ::