Overriding page-front.tpl.php while leaving Zen core alone

chellman - February 21, 2009 - 22:44
Project:Zen
Version:6.x-1.0
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

It looks like the correct way to override any page template in a subtheme is to first copy the Zen core page.tpl.php into the subtheme, then duplicate that to page-front.tpl.php (or whatever), and make the modifications in there.

I'd love to be able to leave the core page.tpl.php where it belongs, so I have one less thing to remember when upgrading Zen. I haven't looked into this in much detail, but is this a reasonable expectation that I should be, say, trying to write a patch for?

#1

zanlus - March 21, 2009 - 05:52

To solve this problem, can't you just simlink (ln -s) to the page.tpl.php in the zen core? Then you don't need an additional module and you don't need to keep updating your theme?

 
 

Drupal is a registered trademark of Dries Buytaert.