Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The following patch allows the definition of default text templates for the 'To', 'Subject' and 'Message' mail fields on a per content-type basis and includes Token support.
We needed this functionality to define e-mail templates for sending customer invoices (a node type) that automatically included certain key information within the email from the node.
Comment | File | Size | Author |
---|---|---|---|
print-tokens.patch | 6.89 KB | ISPTraderChris | |
Comments
Comment #1
ISPTraderChris CreditAttribution: ISPTraderChris commentedMarking this as needs review until we have some feedback. We are using this live without issue.
Comment #2
jcnventura CreditAttribution: jcnventura commentedThis patch removes a lot of code that could still be used when the token module is not installed. I will try to see if I can merge the existing code with the new stuff.
João
Comment #3
jcnventura CreditAttribution: jcnventura at Wunder commentedClosing all issues related to the Drupal 6 version of the print module.