1

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.

1 Answer 1

1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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