Reputation: 3
I want to use pagenumbering
in mpdf
with tags how its described in mpdf
manual:
http://mpdf1.com/manual/index.php?tid=109
Problem is I have used smarty template engine and there I can not use mpdf tag {PAGENO} in header/footer direct in html template, because I think smarty expected in {} parentheses variables. ( example {$test}
)
So when I define {PAGENO}, smarty get syntax error: unrecognized tag 'PAGENO' ...
also I have tried to call this metod, but it's not working->when I generate pdf, in generated pdf is nothing regarding page numbering:
// Set a simple Footer including the page number
$mpdf->setFooter('{PAGENO}');
Have anybody some idea, how I could use mpdf
page numbering with smarty template engine?
thx
Upvotes: 0
Views: 3204