Chris, just as you put all contrib modules in sites/all/modules, you should have your themes in sites/all/themes so you'd have sites/all/themes/yourtheme and in yourtheme you'd have a direcotry called templates. Most themes have one, if not, create one. Any template you create or any template you alter (i.e. a template supplied by a module) should go in that folder. Then you don't have to worry about overriding with upgrades
On Sep 27, 2013, at 6:41 PM, Chris Miller wrote:
From: "LINDA ROMEY" lromey@gmail.com To: support@drupal.org Sent: Friday, September 27, 2013 3:15:32 PM Subject: Re: [support] Node Template Variant
I would do a custom page template for that content type--not a node template which still loads inside teh page, but a page template. You'd name it page--node--[content type].tpl.php and it will override both the page and node templates for your content type. You might also need to do a node--[content type].tpl.php, too. I am assuming you are using Drupal 7 Hi Linda,
Yes, I am using D7. I'll try your suggestion, but I have a few administrative details I don't understand. My content type is called "Music", so I assume I'm writing "page--node--music.tpl.php" and possibly "node--music.tpl.php".
Where do I put these so they will survive updates and upgrades? Where is the best place to start? /modules/system/page.tpl.php and /modules/node/node.tpl.php?
Thanks for the help,
Chris.
-- [ Drupal support list | http://lists.drupal.org/ ]