I am having trouble using various custom templates based on the newsletter category in drupal, from searching around I see this is a fairly popular topic, but I can't seem to wrap my head around a problem I'm having.

I installed simplenews, mime mail and mailsystem. I've set the sitewide default to "MimeMailSystem" and have "Theme to render the emails" set to my subtheme(based off zen), set Mime Mail email format to "full html" and for a testing news category I created called "testing" I've set email format to "html" as well. I went into the database and looked up the TID for the "testing" category and it is 384.

I see that I can customize the body of simplenews and mimemail templates by doing:




I have copied these files and put them in my subtheme template folder and named them:




I have also tried replaceing 384 with the taxonomy term "testing" as well.

In the default mimemail template I have put in so I can see the key, when I send out test emails it returns "test" and when I send out via cron it returns "node" it doesn't return "384" or "testing" as a key/tid. So it completely ignores the templates that I have created. I feel like I'm missing something really basic, but I'm not sure what. Any help would be appreciated.

closed as off-topic by kiamlaluno Apr 20 '15 at 14:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question was caused by a problem that can no longer be reproduced, was solved by a cache clear, or was a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers." – kiamlaluno
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Nevermind I needed to do a drush cc theme-registry. – kaymoris Apr 20 '15 at 14:08

Browse other questions tagged or ask your own question.