Closed (fixed)
Project:
Evening
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2008 at 06:28 UTC
Updated:
5 Dec 2008 at 08:53 UTC
For certain reason, I want to disable the post information. i.e. "submitted By Username On Date and Time".
Unfortunately, after I unchecked the boxes in the global settings, those "post information" are still there. Can anyone tell me how to get rid of them? Or is it a bug in the theme?
Regards
Comments
Comment #1
kleung11 commentedI found the problem and this is how you can fix, open node.tpl.php and at the top look for and change to
<div id="nwrap">
<?php if ($submitted) { ?>
<div class="post-date"><?php print (format_date($node->created, 'custom', 'M')) ?></span> <span class="post-day"><?php print (format_date($node->created, 'custom', 'd')) ?></span></div>
<span class="submitted">Submiter: <?php print $name ?> </span><br/><span class="linkswrap">
<?php } ?>
<?php if ($links) { ?><?php print $links?></span><?php }; ?>
<?php if ($terms) { ?><?php print $terms?></span><?php } ?>
</span>
</div>
Comment #2
wof commentedIt doesn't work. Is there any alternative? Thanks - wof.
Comment #3
kleung11 commentedDo you have a specific node.tpl page that you created? If not, upload the file and let's see what's going on.
Comment #4
kelbel commentedI tried this and it worked, but now the calendar icons aren't formatting correctly (the day drops below where it's supposed to go, slightly outside the icon image). Any idea on how to get around that. Thanks!
UPDATE: Nevermind, I just didn't paste it properly! Works fine now.
Comment #5
taherk commented