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 have put a file named node-page-body.tpl.php, and it works fine, when I go to content template admin page I have a message saying it reads the template from this file. Then I tried to do the same with a custom cck node I created (named staff) and so I created the file node-staff-body.tpl.php but it does not work, I have not the same message and so this file is not read.
What am I doing wrong?
Thanks
Comments
Comment #1
Blue_Boy1987 CreditAttribution: Blue_Boy1987 commentedI Have te EXACT same problem!
Comment #2
Blue_Boy1987 CreditAttribution: Blue_Boy1987 commentedNevermind - it's fixed here.
I put a " " (empty space) in front of my filename by accident.
Comment #3
amariotti CreditAttribution: amariotti commentedWorking fine for me in the 5.x branch. Double check your spelling on the folders.