Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
node_title_check.patch | 460 bytes | hefox |
Comments
Comment #1
hefox CreditAttribution: hefox commentedComment #2
jix_ CreditAttribution: jix_ commentedLooks good.
Comment #3
JohnAlbinI 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
Comment #4
JohnAlbin