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.
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
Comment #1
shaisachs CreditAttribution: shaisachs commentedWorks like a charm, thanks! Saved me a bit of time.
Comment #2
JimmyAx CreditAttribution: JimmyAx commentedCommitted. Thanks!