Skip to content

Few issues after 3.0.0 upgrade #181

@pegaspar

Description

@pegaspar

Hi Ben,

after upgrading to 3.0.0, I have come across these issues:

  1. 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?
  2. 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.
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions