Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6503

Add support for Smarty in PDF letter templates

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.2
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Smarty can be used in email templates but not in templates used for creating PDF letters. Smarty tags used in printable PDF letters are passed directly to the PDF output without substitution. Adding the ability to use Smarty templates for PDF letter creation would be of great value.

      See http://forum.civicrm.org/index.php/topic,13007.msg55854.html#msg55854

      Attached a patch against the 3.2 branch that I have tested.

        Attachments

          Activity

            People

            • Assignee:
              sushant Sushant Paste
              Reporter:
              marty Marty Wright
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: