Commit 5d259452 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Manual.rst: add sendEmail.pl tls=no

parent 917205a3
...@@ -226,36 +226,34 @@ Setup a *report* to manage all *forms*: ...@@ -226,36 +226,34 @@ Setup a *report* to manage all *forms*:
* Create a Typo3 page. * Create a Typo3 page.
* Set the 'URL Alias' to `form` (default) or the individual defined value in parameter `editFormPage` (configuration_). * Set the 'URL Alias' to `form` (default) or the individual defined value in parameter `editFormPage` (configuration_).
* Insert a content record of type *qfq*. * Insert a content record of type *qfq*.
* In the bodytext insert the following code: * In the bodytext insert the following code: ::
:: # If there is a form given by SIP: show
form={{form:SE}}
# If there is a form given by SIP: show # In case indexQfq is different from indexData, set indexQfq.
form={{form:SE}} dbIndex = {{indexQfq:Y}}
# In case indexQfq is different from indexData, set indexQfq. 10 {
dbIndex = {{indexQfq:Y}} # List of Forms: Do not show this list of forms if there is a form given by SIP.
# Table header.
sql = SELECT CONCAT('p:{{pageId:T}}&form=form') as _pagen, '#', 'Name', 'Title', 'Table', '' FROM (SELECT 1) AS fake WHERE '{{form:SE}}'=''
head = <table class="table table-hover qfq-table-50">
tail = </table>
rbeg = <thead><tr>
rend = </tr></thead>
fbeg = <th>
fend = </th>
10 { 10 {
# List of Forms: Do not show this list of forms if there is a form given by SIP. # All forms
# Table header. sql = SELECT CONCAT('p:{{pageId:T}}&form=form&r=', f.id) as _pagee, f.id, f.name, f.title, f.tableName, CONCAT('form=form&r=', f.id) as _Paged FROM Form AS f ORDER BY f.name
sql = SELECT CONCAT('p:{{pageId:T}}&form=form') as _pagen, '#', 'Name', 'Title', 'Table', '' FROM (SELECT 1) AS fake WHERE '{{form:SE}}'='' rbeg = <tr>
head = <table class="table table-hover qfq-table-50"> rend = </tr>
tail = </table> fbeg = <td>
rbeg = <thead><tr> fend = </td>
rend = </tr></thead> }
fbeg = <th> }
fend = </th>
10 {
# All forms
sql = SELECT CONCAT('p:{{pageId:T}}&form=form&r=', f.id) as _pagee, f.id, f.name, f.title, f.tableName, CONCAT('form=form&r=', f.id) as _Paged FROM Form AS f ORDER BY f.name
rbeg = <tr>
rend = </tr>
fbeg = <td>
fend = </td>
}
}
.. _install-checklist: .. _install-checklist:
...@@ -456,35 +454,39 @@ config.qfq.php ...@@ -456,35 +454,39 @@ config.qfq.php
Example: *typo3conf/config.qfq.php* Example: *typo3conf/config.qfq.php*: ::
:: <?php
; QFQ configuration // QFQ configuration
; //
; Save this file as: <site path>/typo3conf/config.qfq.php // Save this file as: <site path>/typo3conf/config.qfq.php
DB_1_USER = <DBUSER> return [
DB_1_SERVER = <DBSERVER> 'DB_1_USER' => '<DBUSER>',
DB_1_PASSWORD = <DBPW> 'DB_1_SERVER' => '<DBSERVER>',
DB_1_NAME = <DB> 'DB_1_PASSWORD' => '<DBPW>',
'DB_1_NAME' => '<DB>',
; DB_2_USER = <DBUSER> //DB_2_USER = <DBUSER>
; DB_2_SERVER = <DBSERVER> //DB_2_SERVER = <DBSERVER>
; DB_2_PASSWORD = <DBPW> //DB_2_PASSWORD = <DBPW>
; DB_2_NAME = <DB> //DB_2_NAME = <DB>
; LDAP_1_RDN = // DB_n ...
; LDAP_1_PASSWORD = // ...
// LDAP_1_RDN =
// LDAP_1_PASSWORD =
];
After parsing the configuration, the following variables will be set automatically in STORE_SYSTEM: After parsing the configuration, the following variables will be set automatically in STORE_SYSTEM:
+----------------+--------------------------------------------------------------------------+ +----------------+-----------------------------------------------------------------------------------+
| _dbNameData | Can be used to dynamically access the current selected database | | _dbNameData | Can be used to dynamically access the current selected database: {{dbNameData:Y}} |
+----------------+--------------------------------------------------------------------------+ +----------------+-----------------------------------------------------------------------------------+
| _dbNameQfq | Can be used to dynamically access the current selected database | | _dbNameQfq | Can be used to dynamically access the current selected database: {{dbNameQfq:Y}} |
+----------------+--------------------------------------------------------------------------+ +----------------+-----------------------------------------------------------------------------------+
.. _`CustomVariables`: .. _`CustomVariables`:
...@@ -503,6 +505,8 @@ E.g. to setup a contact address and reuse the information inside your installati ...@@ -503,6 +505,8 @@ E.g. to setup a contact address and reuse the information inside your installati
{{ADMINISTRATIVE_CONTACT:Y}}, {{ADMINISTRATIVE_ADDRESS:Y}}, {{ADMINISTRATIVE_NAME}} {{ADMINISTRATIVE_CONTACT:Y}}, {{ADMINISTRATIVE_ADDRESS:Y}}, {{ADMINISTRATIVE_NAME}}
It's also possible to configure such variables directly in `config.qfq.php`_.
.. _`fillStoreSystemBySql`: .. _`fillStoreSystemBySql`:
Fill STORE_SYSTEM by SQL Fill STORE_SYSTEM by SQL
...@@ -536,7 +540,7 @@ After a full QFQ installation: ...@@ -536,7 +540,7 @@ After a full QFQ installation:
* a table `Period` (extend / change it to your needs, fill them with your periods), * a table `Period` (extend / change it to your needs, fill them with your periods),
* one sample record in table `Period`, * one sample record in table `Period`,
Websites, delivering semester data, schoolyears schedules, or any other type or periods, often need an index to the Websites, delivering semester data, school year schedules, or any other type or periods, often need an index to the
*current* period. *current* period.
In configuration_: :: In configuration_: ::
...@@ -6931,6 +6935,13 @@ a more detailed message. ...@@ -6931,6 +6935,13 @@ a more detailed message.
The error might occur if there are problematic characters in config.qfq.php, like single or double ticks inside strings, The error might occur if there are problematic characters in config.qfq.php, like single or double ticks inside strings,
wich are not enclosed (correctly). wich are not enclosed (correctly).
sendEmail: Error => TLS setup failed
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Switch off the TLS encryption. In `configuration`_ specify for *config.sendEMailOptions*: ::
-o tls=no
.. _`javascriptProblem`: .. _`javascriptProblem`:
Javascript problem Javascript problem
......
...@@ -74,11 +74,11 @@ Features ...@@ -74,11 +74,11 @@ Features
Bug Fixes Bug Fixes
^^^^^^^^^ ^^^^^^^^^
* #5077 / Dynamic Update & FE.type=required: Server fixed - * #5077 / Dynamic Update & FE.type=required: Server fixed -
a) dynamic calculated modeSql respected, a) dynamic calculated modeSql respected,
b) formModeGlobal=requiredOff respected, b) formModeGlobal=requiredOff respected,
c) dynamic FE with mode='hidden' are not saved anymore. c) dynamic FE with mode='hidden' are not saved anymore.
* #6176 / Icon not aligned when error text: Buttons now wrapped in one 'input-group'. * #6176 / Icon not aligned when error text: Buttons now wrapped in one 'input-group'.
* Manual.rst: reformat autocron QFQ code * Manual.rst: reformat autocron QFQ code
......
Markdown is supported
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