Closed (fixed)
Project:
Paradise
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2009 at 17:50 UTC
Updated:
31 Dec 2010 at 21:09 UTC
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 commentedWorks like a charm, thanks! Saved me a bit of time.
Comment #2
JimmyAx commentedCommitted. Thanks!