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.
Changed subtheme templates/page.tpl.php - everything works, but when doing the same to templates/page.vars.php - changes are not respected. Is there something I need to do or it is a bug?
Comments
Comment #1
PlayfulWolf CreditAttribution: PlayfulWolf commentedForgot to rename functions to my subtheme name, but still no change. I understand that this can be done adding function into page.tpl.php, but then - why such a complicated file structure was made if it cannot be used in subtheme?
Comment #2
PlayfulWolf CreditAttribution: PlayfulWolf commentedWorked only when adding function to template.php
Comment #3
jgullstr CreditAttribution: jgullstr commentedMarked as duplicate: #2140481: Page.vars.php