What is the TID for simplenews-newsletter-body.tpl.php

pcsystemd - June 2, 2009 - 14:38

Hello,

after many tests I still do not understand:

Theme newsletter body

* Simplenews-newsletter-body.tpl.php (for all newsletters)
* Simplenews-body-newsletter - [tid]. Tpl.php (for newsletter series tid;
where [tid] is replaced by the term id of the newsletter taxonomy term.

if I followed the tid is the id of the term taxonomy vocabulary of my newsletter.

When I list in my vocabulary taxonomy_manager which corresponds to my newsletter I

Term:
www.test.com bulletin (507)
admin/content/taxonomy_manager/termdata/7/507/true.edit-term-data-description

so if I copy the files in the directory of my theme:
simplenews-newsletter-body.tpl.php
simplenews-newsletter-footer.tpl.php

and that I rename in:
simplenews-newsletter-body--507.tpl.php
simplenews-newsletter-footer--507.tpl.php

this should be good off it does not work.

An idea because it is more than two weeks I have trouble with that.

Thank you

The .tpl file should be in the admin theme

TimG - August 21, 2009 - 22:37

Hey there,

Make sure that the .tpl files...

simplenews-newsletter-body.tpl.php
simplenews-newsletter-footer.tpl.php

...are placed in your admin theme, not your main theme. That's something that caught me too.

-Tim

 
 

Drupal is a registered trademark of Dries Buytaert.