I am trying to overriding the homepage by creating a template file named "page__front.tpl.php"; I placed it under the theme folder where page.tpl.php lives.

After refreshing the site, the homepage still loads "page.tpl.php" instead of "page__front.tpl.php."
The cache and the theme registry are cleared.


The template filename should be "page--front.tpl.php"; you should use hyphens, not underscores.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.