Forum


Replies: 1   Views: 1048
Gettemplatevariables
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 admin  · 21-05-2021 - 10:10

Hello,

Maybe the symbol you are using to wrap placeholders is being used in other contents of the DOCX, so the existing placeholders can't be returned correctly. We recommend using a symbol that is not used in other contents of the documents to wrap placeholders: setTemplateSymbol. Since phpdocx 11, ${ } can also be used to wrap placeholders too: ${VAR}

Please send to contact[at]phpdocx.com the template and the username or email of the user that purchased the license you are using.

Regards.