On Sunday, March 3, 2013 at 8:31 AM, Jeff Greenberg wrote:
Arrgh. So I found several references to, and created a template called node--product-display.tpl.php. It's in my themes's template directory with the other templates in use, and I did clear cache.Yet, anything I put in the template file is ignored, including exit;
When I load the page and click on the product area, with theme developer running, it gives me this for the theme candidates:
node--product--type.tpl.php < node--23.tpl.php < node--product-display.tpl.php < node.tpl.php
On Sun, Mar 3, 2013 at 9:47 AM, Jeff Greenberg <jeff@ayendesigns.com> wrote:Yes, Omega. A zone is like a superset of a region. So what I want to do is have a template that controls a zone for only a specific content type. I suspect I'll need to peruse the Omega template.php file
--In the top 10% viewed LinkedIn profiles for 2012--Sent from my iPhone. Any typos are the result of my oversized fingers or Siri not being able to comprehend my dialect.Hi Jeff,Not sure what you mean by "zone template" (referring to Omega theme maybe?) but if all you want to do is to make a template for a Node, the format is:node-{NAME}.tpl.phpwhere {NAME} is the *machine* name for your content type.You can also find out the template suggested names by using the module devel_themer, and then clicking on the content type you are interested in. It will suggest functions in template.php and/or template names you can use, based on what you select.make sure to turn off devel_themer after you need it though cause it does mess up other regular stuff (its a bit of a hog-bug)there are other techniques to engineer the template names, but this should get you started.Good luck!rgds,datarazorOn Saturday, March 2, 2013 at 9:20 PM, Jeff Greenberg wrote:
Is there a template hint for overriding a zone template for a specific content type, such as a content zone template for product display, or do I need to create one in template.php?
--
---@accidentalcoder_______________________________________________themes mailing list
_______________________________________________
themes mailing list
themes@drupal.org
http://lists.drupal.org/mailman/listinfo/themes
_______________________________________________
themes mailing list
themes@drupal.org
http://lists.drupal.org/mailman/listinfo/themes
--
---@accidentalcoder_______________________________________________themes mailing list