Forum


Replies: 2   Views: 3476
Can i alter the variable from $example$ to [[example]] ?
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 alfred2612  · 01-09-2013 - 18:19

Hi,



The company I work for is porting our software to PHP from an older language.



Our old mail-merge software had variables in the format [[example]], but I see PHPDocX has them in the $Example$ format. Can I change this somehow?



It just saves all our customers the trouble of altering all their templates.



Thanks,



Alfred


Posted by jorgelj  · 02-09-2013 - 09:01

Hello,



You can set a new symbol to sorround placeholders but this must be the same for start and end; i.e. $var$, |var|, %var%; but you can't set a symbol for the start and other for the end.



Of course you can contact us for a custom dev:



http://www.phpdocx.com/help/support



Regards.