Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
In the module you present some hijacker code. I copied and edited it as here
* Hi-jacker to stop the title from being inserted above the HTML in the mail.
*/
function themagrk_simplenews_template_theme_simplenews_newsletter_body($node, $title, $language = NULL) {
return $node->body;
}
NB: In my version I also removed the $title. but it makes no difference
I have cleared the cache multiple times, created new newsletters, but that title stays there. I have edited the template.php for other things and they are visible. Do I do something wrong?
Comments
Comment #1
Brian294 CreditAttribution: Brian294 commentedi have been experiencing the exact same problem for months now. I want that title in the body gone! It's like any changes I make to template.php is ignored. I am using a subtheme of zen.
Comment #2
TheoRichel CreditAttribution: TheoRichel commentedI am also using a subtheme, but then of Channel Nine, but it makes no difference whether I add the name of the main-theme or the name of the subtheme. Haven't tried both yet.
Comment #3
TheoRichel CreditAttribution: TheoRichel commentedThis thread seems relevant #481142: Theme settings forms are not inherited by sub-themes. I have applied the patch to system.admin.inc but the problem remains.
Question: I am supposed to copy that Hijacker to my template.php am I not? and then add the name of the theme?
Comment #4
sanderssc CreditAttribution: sanderssc commentedDid you ever get this hijacker to work. I tried to copy it into my template file, but I'm still getting a title on my enews letter. I'd really like to remove it.