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,
i just copied advanced-forum.naked.author-pane.tpl.php into my themes folder and added in the preprocess function a new variable which i want to display in the template.
But it always only uses the advanced-forum.naked.author-pane.tpl.php in the advanced_forum module folder (advanced_forum/styles/naked/ advanced-forum.naked.author-pane.tpl.php)
How can i overwrite this file to add my custom variables.
Comments
Comment #1
troky CreditAttribution: troky commentedTry one of the following:
1. <your theme>/naked/advanced-forum.naked.author-pane.tpl.php
2. <your theme>/advanced-forum-author-pane.tpl.php
Style&template handling code is messy and probably needs more work...
Comment #2
Carsten Müller CreditAttribution: Carsten Müller commentedHi,
thanks. advanced-forum-author-pane.tpl.php works fine
Comment #4
Uzo CreditAttribution: Uzo commented@troky,
thanks a great deal; Solved my problem too