Community & Support

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

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

Comments

The .tpl file should be in the admin theme

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

Clear cache

Did you clear the theme registry cache?

Fabricio Bisso

What do you mean "admin"

What do you mean "admin" theme folder? What folder is that?

Namhost.com: Fast, affordable and reliable internet solutions

.

I am wondering which folder that should be as well.
My testing of which folder to use showed to leave the files under ..../sites/all/modules/simplenews/theme/.
I tried putting them into my danland theme folder ..../sites/all/themes/danland but that didn't work for some reason.
And I do not have a specific admin theme, so no idea where else to put the files.
Of course, leaving the files in the module folder means they can get overwritten when updating the module - at least the general files without the tid - so you need to back them up.
May be we are missing some little trick.
Still struggling to get the newsletter issues to be sent out in html......

-----------
Good luck .....
the results of trying Drupal just once are
www.mallsandmore.com
www.sds-i.com
www.proRotaTherm.com

.

to get the html going -
http://www.example.com/admin/messaging/settings/method
choose email option html - is in sending (Newsletter tab) in folded option below - (in simplenews 2.x).

............

-----------
Good luck .....
the results of trying Drupal just once are
www.mallsandmore.com
www.sds-i.com
www.proRotaTherm.com