Closed (works as designed)
Project:
Nodeblock
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2009 at 22:40 UTC
Updated:
16 Dec 2010 at 14:08 UTC
The attached patch makes the div.meta tag in the node-nodeblock-default.tpl.php only display if $submited or $terms are set.
Comments
Comment #1
zroger commentednode-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.
Comment #2
seutje commentedthis 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