Some wrapper HTML for variables in node.tpl.php always appear, even if the variable is empty. I added in some checks to hide the wrapper HTML if the variables are empty. Patch is against alpha4.

CommentFileSizeAuthor
omega-node.tpl_.patch739 bytesdavemybes
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

himerus’s picture

Good call on this one.

I am for the first time playing with the node.tpl.php in a sub-theme I'm working on, and noticed this stuff too tonight. I will commit this along with another issue I just posted where the preprocess_node was not being called properly from some of the original code from the Studio theme being used to implement the preprocess functionality.

himerus’s picture

Assigned: Unassigned » himerus
Status: Needs review » Fixed
Issue tags: +alpha5

will be released in alpha5

Status: Fixed » Closed (fixed)
Issue tags: -alpha5

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