It's useful, for example
> Panels insert node into panel removes the title via $node->title = ''
> I add the title into node->content for use with content extra fields weight (

tiny winy bit of code.

node_title_check.patch460 byteshefox


hefox’s picture

Status:Active» Needs review
jix_’s picture

Status:Needs review» Reviewed & tested by the community

Looks good.

JohnAlbin’s picture

Title:node.tpl.php, check if $title is set before outputting. » Check if node $title is set before outputting
Component:PHP Code» layout.css
Status:Reviewed & tested by the community» Fixed

I was hesitant to commit this because the use case is so narrow. But the code overhead is incredibly minimal and checking if $title is set is what page.tpl, block.tpl and comment.tpl already do.


JohnAlbin’s picture

Component:layout.css» PHP code

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.