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 (http://github.com/hefox/faketitle)

tiny winy bit of code.

CommentFileSizeAuthor
node_title_check.patch460 byteshefox
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

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.

Fixed. http://drupalcode.org/project/zen.git/commit/4bd5bd6

JohnAlbin’s picture

Component: layout.css » PHP code

Status: Fixed » Closed (fixed)

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