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.
The include call in page.tpl.php seems to always look for files within /sites/all/themes, even if the the theme is installed elsewhere (e.g. /sites/default/themes). This results in an execution error and failure to render the page content and sidebars.
Changing the call to use the $theme_path
variable to get the full path to the installed theme corrects the issue:
include $theme_path . 'page-' . $a .'.tpl.php';
Comments
Comment #1
gapple