-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
Description
Hi Ben,
after upgrading to 3.0.0, I have come across these issues:
- Smarty {php} support not available - I have few email content templates that need to generate an attachment (PDF doc) before they send email. I was using {php} for that. I know it os not the way to do it in Smarty, but I'm afraid, I have no other option in FormTools. For now, I have rewritten all Smarty occurences in the Core to SmartyBC and it works. Maybe it woudl be useful for others to have this as configurable option?
- email template gets parsed for {attachment} before Smarty evaluates the template - With the use case of generating attachment in the template before sending an email, the file is not existing before the template is processed, so the attachment is not included in the email. The PDF file is created though, but only after attachments have been processed.
- RadioButton, Dropdown and Date fields don't render for view, unless they are switched to Smarty rendering. The Core PHP rendering functions return blank output.
Hope this information helps.
Thank you,
Peter