Hi there,
is it possible to insert a php function like:
echo substr($aos_quotes_date_entered, -4,4);
into the html code?
Thanks in advance
Hi there,
is it possible to insert a php function like:
echo substr($aos_quotes_date_entered, -4,4);
into the html code?
Thanks in advance
If you mean what I think you do then no its not.
Hi Andy, thanks for the quick response,
so it’s not possible to add custom php functions in a PDF template?
Nor manipulating any php files?
You said in the HTML code so I thought you ment in the wysiwig editor. You could custom code functions yourself in the php file that generates the pdf’s
Look at: custom/modules/AOS_PDF_Templates/generatePdf.php
custom/modules/AOS_PDF_Templates/formLetterPdf.php
Yes Andy, thank you for the advices,
i’d rather prefer a way to merge php functions like IF - ELSE blocks or substring or similar functions in the wysiwig editor.
But i think i’ll be able to manage my needs the same thanks to those php files