Tokenize the header and footer

verot - October 15, 2009 - 10:24
Project:Simplenews Template
Version:6.x-1.0-beta2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

When you use tokens in the header or footer, for instance !newsletter_url, the tokens are not replaced.

The mail_alter hook in the module calls a function which adds the header and footer to the email generated by simplenews. The patch simply loads the tokens at that time, and filters the header and footer with the tokens array.

AttachmentSize
template_token.patch1.12 KB

#1

franz - November 5, 2009 - 17:13
Status:patch (to be ported)» fixed

Commited on dev (release will be available midnight)

Seems to be working, mind to test it?

#2

System Message - November 19, 2009 - 17:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.