Postponed (maintainer needs more info)
Project:
Omega
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2011 at 18:30 UTC
Updated:
13 Nov 2015 at 14:51 UTC
Jump to comment: Most recent
Comments
Comment #1
lelizondo commentedjust override the node.tpl.php file.
Comment #2
heyyo commentedBut now how to not display the title on page ?
Because now it is displayed twice. Which file do I need to remove the first display of the title ?
Comment #3
lelizondo commentedthe page title is handled in page.tpl.php and not in node because not every page is a node.
if you want to hide the title on a some nodes of some content types you could use http://drupal.org/project/nodeformsettings
Comment #4
himerus commentedA related post is here in the HTML5 group: http://groups.drupal.org/node/138729
It's a tough situation, and a LOT of times in my own themes, I will NOT render the page title in page.tpl.php if the page IS in fact a node... but instead pass that along to node.tpl.php to render... still as a H1 inside node.tpl.php if it IS a page view...
This may get implemented in the 3.x version, but I'd like to follow some further discussions on this to determine any gotchas or forgotten use cases for WHY the title is rendered how it is. I wouldn't be surprised to see this change in D8.
Comment #5
lelizondo commentedIf I remember correctly, in D7 you have access to the $node variable in page.tpl.php so you can do an if and determine if it's a node or not.
Comment #6
paskainos commented#4:
Jake, has this been addressed in 3.x?
Comment #7
cellar door commentedComment #8
steinmb commentedHousekeeping. Should we go ahead and close or set it back to active?