Categories > OpenTBS with DOCX >

How to show data in header and footer on DOCX document

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: zainal
Date: 2016-09-21
Time: 05:40

How to show data in header and footer on DOCX document

Hi how to show data on header and footer if use DOCX document template, because my variable from PHP not display on Header or footer on DOCX document. thanks
By: Skrol29
Date: 2016-09-21
Time: 10:52

Re: How to show data in header and footer on DOCX document

Hi,

OpenTBS automatically merges [onload] and [onshow] fields placed in header and footer.
If it is not, or if you want to merge other fields, then you can use command OPENTBS_SELECT_HEADER or OPENTBS_SELECT_FOOTER in order to selected the sub-file and merge data in it.
See http://www.tinybutstrong.com/opentbs.php?doc#opentbs_select_header