Dear Eugenio,
I am working on my first dadabik app and so far it’s really great for me with very little programming background.
But now I am trying to make a pdf-template for the grid view but can’t make it working.
As in the manual, I’ve set the $add_pdf_page_for_each_record = 0 and have created the three html-files.
The html is just copy&paste from the manual with just changing the dadabik field names.
But I only get the error message “error template heading†if I am trying to make a pdf from the grid view. Strange thing is that the template is working for the detail view.
Content header:
[pre]
<html lang="en">
<head>
<meta charset="utf-8" />
</head>
<body>
<h1>Ergebnisliste</h1>
<table>
<thead>
<tr><th>Name</th><th>Gesamtergebnis</th></tr>
</thead>
<tbody>
[/pre]
Content template
[pre]
<tr><td>dadabik_field id_schuetzen dadabik_field</td></tr><tr><td>dadabik_field gesamt_ergebnisse dadabik_field</td></tr>
[/pre]
Content footer
[pre]
</tbody>
</table>
</body>
</html>
[/pre]
Thanks for your help!
BR
Martin
My about data:
[pre]
You are using DaDaBIK version 10.3-Manarola enterprise, installed on 08.09.2020 (installation code: 159035f577cb9ad325), the latest version of DaDaBIK is 10.3-Manarola released on 26.08.2020
You are runnning the last release of DaDaBIK
In case you want to upgrade to a more powerful edition (from Pro to Enterprise/Platinum, from Enteprise to Platinum) please contact us.
System info
PHP Version: 7.2.29
mysql version: 5.5.5-10.3.21-MariaDB
Web server: nginx/1.16.1
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15
URL installation: http://192.168.178.23/data/
[/pre]
I am working on my first dadabik app and so far it’s really great for me with very little programming background.
But now I am trying to make a pdf-template for the grid view but can’t make it working.
As in the manual, I’ve set the $add_pdf_page_for_each_record = 0 and have created the three html-files.
The html is just copy&paste from the manual with just changing the dadabik field names.
But I only get the error message “error template heading†if I am trying to make a pdf from the grid view. Strange thing is that the template is working for the detail view.
Content header:
[pre]
<html lang="en">
<head>
<meta charset="utf-8" />
</head>
<body>
<h1>Ergebnisliste</h1>
<table>
<thead>
<tr><th>Name</th><th>Gesamtergebnis</th></tr>
</thead>
<tbody>
[/pre]
Content template
[pre]
<tr><td>dadabik_field id_schuetzen dadabik_field</td></tr><tr><td>dadabik_field gesamt_ergebnisse dadabik_field</td></tr>
[/pre]
Content footer
[pre]
</tbody>
</table>
</body>
</html>
[/pre]
Thanks for your help!
BR
Martin
My about data:
[pre]
You are using DaDaBIK version 10.3-Manarola enterprise, installed on 08.09.2020 (installation code: 159035f577cb9ad325), the latest version of DaDaBIK is 10.3-Manarola released on 26.08.2020
You are runnning the last release of DaDaBIK
In case you want to upgrade to a more powerful edition (from Pro to Enterprise/Platinum, from Enteprise to Platinum) please contact us.
System info
PHP Version: 7.2.29
mysql version: 5.5.5-10.3.21-MariaDB
Web server: nginx/1.16.1
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15
URL installation: http://192.168.178.23/data/
[/pre]