ez.no / exponential / documentation / reference / template operators / pdf / header_block
{pdf( header_block, hash( block_code, $variable ) )}
| Name | Type | Description | Required |
|---|---|---|---|
| block_code | mixed | Variable of template code set by 'set_block' | yes |
Available from Exponential 3.5.
Insert this at the end of the PDF templates.
Insert party complex header
{set-block variable=header} {set-block variable=header_table} <tr><td>test</td></tr> {/set-block} {pdf(table, $header_table )} {pdf(set_margin, hash( left, 20 ) )} {/set-block} {pdf(footer_block, $header)}
Any content can be inserted inside the header set-block, images, links, etc. #page and #total tags can also be used.
log in or create a user account to comment.
Comments