Closed (fixed)
Project:
Zen
Version:
6.x-1.x-dev
Component:
layout.css
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2008 at 22:57 UTC
Updated:
28 Oct 2011 at 13:42 UTC
Maybe this is a feature, not a bug, but I'm really confused as to why creating page-front.tpl.php doesn't seem to have any effect in making a unique front page in a Zen subtheme. This thread recommends creating page-default.tpl.php as a workaround, but that strikes me as inelegant and unnecessary. Let me know if there's something totally obvious that I'm missing, but if not, I'd love to see this fixed in the future.
Comments
Comment #1
jatonline commentedAssuming you've cleared your cache at admin/settings/performance and it still didn't work, have you tried copying Zen's page.tpl.php (unmodified) to your subtheme directory as well, then clearing your cache again?
The documentation says:
I'll admit it wasn't obvious to me until I did a bit of searching and (careful) reading.
Comment #2
jatonline commentedComment #3
johnalbinThanks, jatonline! That's the correct solution.
Comment #5
relish27 commentedjatonline -- thanks for your help here. I am a relative newb to Drupal and I have two Drupal projects in progress right now. I was able to get this to work with the first project but must be missing something with the second. I tried your suggestion of just putting the default page.tpl.php in my templates folder (I already had a customized one in there) but nothing has changed.
Is there something else that needs to be done to define the home page as the front page and thereby trigger the user of the page.front.tpl.php page? I'm stumped.
UPDATE: Found it!! http://drupal.org/node/1051260