0

I created the file named page--front.tpl.php, which is empty, in the Garland theme and set the front end to it. I still can access the front page: why?

1 Answer 1

1

Have you cleared the cache after you added the new template file in the theme directory? You should always clear the cache, once you change a template file for a theme already installed, or you add a new file that was not used before.

1
  • no, got it.when i clear the cache,it's ok. thank you.
    – enjoylife
    Commented May 14, 2011 at 8:15

Your Answer

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

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