I changed the node.tpl.php a little

this

      <div class="PostMetadataHeader">
        <div class="PostHeaderIcons metadata-icons">
          <? php if ($submitted) echo art_submitted_worker($submitted, $date, $name); ? >
        </div>
      </div>

becomes

	  <? php if ($submitted){ ? >
      <div class="PostMetadataHeader">
        <div class="PostHeaderIcons metadata-icons">
          <? php if ($submitted) echo art_submitted_worker($submitted, $date, $name); ? >
        </div>
      </div>
	  <? php } ?  >

and this

      <? php ob_start(); ? >
      <div class="PostFooterIcons metadata-icons">
        <? php if ($links) echo art_links_woker($node->links); ? >
        <? php if ($terms) echo art_terms_worker($node); ? >
      </div>
      <? php $metadataContent = ob_get_clean(); ? >
      <? php if (trim($metadataContent) != ''): ? >
        <div class="PostMetadataFooter">
          <? php echo $metadataContent; ? >
        </div>
      <? php endif; ? >

becomes

      <? php ob_start(); ? >
        <? php if ($links) echo art_links_woker($node->links); ? >
        <? php if ($terms) echo art_terms_worker($node); ? >
      <? php $metadataContent = ob_get_clean(); ? >
      <? php if (trim($metadataContent) != ''): ? >
        <div class="PostMetadataFooter">
	      <div class="PostFooterIcons metadata-icons">
		    <? php echo $metadataContent; ? >
          </div>  
		</div>
      <? php endif; ? >

to overcome this problems

NOTE: if you are copying and pasting the code remember,
I created a space between <? and php and ? and > in order not to break the formating

Comments

shaisachs’s picture

Works like a charm, thanks! Saved me a bit of time.

JimmyAx’s picture

Status: Active » Closed (fixed)

Committed. Thanks!