Replies: 9   Views: 3223
Addtemplatevariable not working in word template footer
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by fueldigital-dev  · 19-03-2013 - 04:53

I am using word Template with different first page header and footer.

I need to add client names, reference and date in all the footer.

My first page footer is slightly different than the rest of them.
The problem is the addTemplateVariables works only in my first page, in the rest of the pages its not working.
Client Name: $CLIENT_NAME$ | Date: $INSPECTION_DATE$ | Job No: $REFERENCE$ | Page No: 1
Client Name: $CLIENT_NAME$ | Page No: 2

I will appreciate if anyone could tell me what i am doing wrong.