I added some cck fields to my Newsletter content type, then created a node-simplenews.tpl.php file to theme them.
The tpl works fine when viewing the newsletter in the site. But the email being sent uses the default layout (just a list of fields preceded by its lables).
Is there some way I can make the module use node-simplenews.tpl.php as a template for the email message being sent, or any other template file that I can create to theme these messages?
Thanks
Comments
Comment #1
dtabach commentedWorkaround: use Contemplate. Simplenews does use the templates defined in 'body output' by Content Template module.
Comment #2
sutharsan commentedCCK compatebility will be included in the Simplenews 6 version.
Comment #3
hansrossel commentedThanks to dtabach for the hint to use contemplate instead of normal cck theming!
I could make a perfect user friendly newsletter template with a complex design and nodereference fields for including nodes using contemplate. See my tutorial in the handbook for more info how to theme complex table newsletter layouts with simplenews: http://drupal.org/node/268404
Comment #4
sutharsan commented@hansrossel: nice work and thanks for documenting it.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.