Print out custom field and footer in newsletter 1. I have two fields in my newsletter content, the normal 'Body' and another called 'The List' (.field-field-thelist). I am trying to print this out in the newsletter but I cannot seem to get it working. 

htmlmail-simplenews.tpl.php:

// this doesn't work
&lt;?php print $node-&gt;field_field_list[0]['view'] ?&gt;


I don't think I am doing this correctly, but I am basing it from this walkthrough.



2. For some reason when I call the newsletter to print $body (simplenews-newsletter-body.tpl.php), it also prints the $footer (simplenews-newsletter-footer.tpl.php) content ($footer doesn't actually print anything alone).

htmlmail-simplenews.tpl.php:

//Prints body AND footer for some reason, I want to separate these as two variables
&lt;?php echo $body; ?&gt;


The reason #2 confuses me is because there is very clearly 2 variables for each a body and footer in the simplnews.module file. Is there another way I can call these separately?

Note: I am not using Views for this newsletter
$node is available within the simplenews templates. htmlmail-simplenews.tpl.php is a generic template that is not simplenews specific.

$body in this context is the mail body, which has been created by combining the simplenews body and footer. Again, within Simplenews, those are separated, but are then simply concatenated together before passed to the htmlmail template.

To get to the node object in there, look at the example templated provided by HTML Mail, which uses $params['context']['node'] and $params['simplenews_source']-&gt;getNode() in Drupal 7.