Announcement
Collapse
No announcement yet.
pdf-template: Different head on first page
Collapse
X
-
It will need having some token that changes its value to true. Not sure whether the helper interface does allow that except an entity attribute will be used as a token which is not elegant.
-
As you cannot use the pageNumber Tag, what about to use another field for the condition, which only exists on page 1.
Leave a comment:
-
{{#ifNotEqual 1 pageNumber}} must be {{#ifNotEqual pageNumber 1}}
- Likes 1
Leave a comment:
-
Originally posted by shalmaxb View PostDid you write the condition in the code or in the WYSIWYG, did you escape the code by HTML comment (<!-- xxxxxx.-->)?
HTML Code:<!--{{#ifNotEqual 1 pageNumber}}--> <p align="center"><span style="color: #205629; font-size: 10px;">Angebot Nr.: {{number}} / Seite: {pageNumber} von {totalPageNumber}</span></p> <!--{{/ifNotEqual}}-->
Leave a comment:
-
Did you write the condition in the code or in the WYSIWYG, did you escape the code by HTML comment (<!-- xxxxxx.-->)?
- Likes 1
Leave a comment:
-
Originally posted by shalmaxb View PostI think, you have to write
{{#ifNotEqual pageNumber 1}} Angebot Nr.: {{number}} / Seite: {pageNumber} {{/ifNotEqual}}
Leave a comment:
-
I think, you have to write
{{#ifNotEqual pageNumber 1}} Angebot Nr.: {{number}} / Seite: {pageNumber} {{/ifNotEqual}}
Leave a comment:
-
pdf-template: Different head on first page
I use a cover page for quotes. Therefore I do want to print the header on the first page.
Is this possible?
I have tried it this way:
```
{{#if [pageNumber > 1]}}
Angebot Nr.: {{number}} / Seite: {pageNumber} von {totalPageNumber}
{{/if}}
```
But this the the header is never printed....Tags: None
Leave a comment: