[support] Node Template Variant

LINDA ROMEY lromey at gmail.com
Fri Sep 27 22:15:32 UTC 2013


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



On Sep 27, 2013, at 5:48 PM, Chris Miller wrote:

> Hi Folks,
> 
> In Home » Administration » Structure » Pages, General tab, there is the option "Disable Drupal blocks/regions".  This appears pretty straight-forward, but I am still getting the header and footer, at a minimum, none of which I want.  Am I misunderstanding what "Disable Drupal blocks/regions" means, or have I made a mistake somewhere else which is overriding this?
> 
> I have a content type that displays ' target="_blank" ', and I don't want to spend any real estate for anything but the content.  Imagine, for example, a drawing of some kind.  Does anybody know how to strip a page of all regions but "content"?
> 
> Thanks for the help,
> 
> Chris.
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130927/41e34379/attachment.html 


More information about the support mailing list