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.
I copied page.tpl.php to my subthemes' templates folder so it should override motherships' default page.tpl.php, right? However, none of the changes I make are taking effect. I have tried everything I can imagine including repetitive cache clearing, deleting and restoring theme and subtheme, trying different version of mothership... any idea what the problem can be? thanks.
Comments
Comment #1
pyxio CreditAttribution: pyxio commentedOK. So I found the problem. I am just so used to page.tpl.php being in the templates folder (like it is in mothership's base theme and most other themes) I instinctively created a templates folder and copied the page.tpl.php file from the base theme there. I never even noticed there was a page.tpl.php in the theme's root directory and of course, it was overriding the one I had in the templates folder I created. So if anybody else encounters the problem who expects tpl files to be in the templates folder you must create a templates folder and move page.tpl.php and node.tpl.php into that folder. I can't believe I missed this. Anyway, thanks for the fantastic theme. Perfect.
Comment #2
Screenack CreditAttribution: Screenack commentedThanks for the note — I was experiencing an identical scenario.
I'm wondering why the subtheme doesn't create a "templates" directory with page and node placed there?
Comment #3
krisrobinson CreditAttribution: krisrobinson commentedThanks for this note!
Comment #4
fultonchain CreditAttribution: fultonchain commentedAnd, still useful. Thanks.