Hi, is there any way to use tokens defined by simplenews in the htmlmail.tpl.php ?
I want to put a link to the current newsletter issue (the page which is sent an formated with htmlmail) above the header of the htmlmail.

Have a nice evening!

Comments

pillarsdotnet’s picture

Version: 6.x-2.3 » 6.x-1.6
Status: Active » Postponed

Hi, is there any way to use tokens defined by simplenews in the htmlmail.tpl.php ?

You would need to add a preprocess function to the template.php file in your theme directory.

See http://drupal.org/node/223430

I'll try to come up with more specific directions when I have time.

vistree’s picture

Status: Active » Postponed

Hi pillarsdotnet,
thank you for the hint to the preprocess-function. I looked around to find some more information on this - but it is to much PHP (for me). So I will be happy if you could give a little bit more advise, when you find the time.

Have a nice day!

pillarsdotnet’s picture

Version: 6.x-1.6 » 6.x-2.3

Will get back to this shortly...

pillarsdotnet’s picture

Status: Postponed » Active
pillarsdotnet’s picture

Version: 6.x-1.6 » 6.x-2.x-dev
Status: Postponed » Postponed (maintainer needs more info)
vistree’s picture

Hi pillarsdotnet,
thank you for your tries!

Regards

pillarsdotnet’s picture

Status: Postponed (maintainer needs more info) » Needs work

Got an answer finally; can finish this.

pillarsdotnet’s picture

Assigned: Unassigned » pillarsdotnet
Category: support » feature
Status: Needs work » Fixed

Fixed in 6.x-2.14.

Status: Fixed » Closed (fixed)

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