juergen_mueller
DaDaBIK Guru
Hi Eugenio
I want to add a custom pdf export to a details view.
I followed your documentation on how to set up a custom PDF export feature:
- I disabled $export_to_pdf_feature and enabled $parse_pdf_php_template_even_if_export_pdf_disable
- I created a layout hook (and a custom button as an alternative)
- the hook looks like '$hooks['MYTABLE']['details_form_header']['after'] = 'dadabik_pdf';
- the function looks like 'function dadabik_pdf() {echo 'PDF '; }
- MYTEMPLATE without .html ending
The hook appears but the link just opens the grid view of the concerned table...
What am I doing wrong?
Best,
Juergen
I want to add a custom pdf export to a details view.
I followed your documentation on how to set up a custom PDF export feature:
- I disabled $export_to_pdf_feature and enabled $parse_pdf_php_template_even_if_export_pdf_disable
- I created a layout hook (and a custom button as an alternative)
- the hook looks like '$hooks['MYTABLE']['details_form_header']['after'] = 'dadabik_pdf';
- the function looks like 'function dadabik_pdf() {echo 'PDF '; }
- MYTEMPLATE without .html ending
The hook appears but the link just opens the grid view of the concerned table...
What am I doing wrong?
Best,
Juergen