The attached patch makes the div.meta tag in the node-nodeblock-default.tpl.php only display if $submited or $terms are set.

Comments

zroger’s picture

Status: Needs review » Closed (works as designed)

node-nodeblock-default.tpl.php is almost a direct copy of node.tpl.php from core (http://api.drupal.org/api/drupal/modules--node--node.tpl.php/6/source). Since this is a template that can be overridden, I'd rather stay consistent with core.

seutje’s picture

this makes me sad, as you're pretty much knowingly copying a bug. Contrib is a lot more flexible than core and things like this don't get patched in core once a release has been made, which is why some modules choose to remain in contrib.

And since, as you said, this is a direct copy from core's, why is the registry alter and the separate template even necessary? surely ppl can specify their own template from preprocess, right? guess I'll just do that then