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

kleung11’s picture

I 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>

wof’s picture

It doesn't work. Is there any alternative? Thanks - wof.

kleung11’s picture

Do you have a specific node.tpl page that you created? If not, upload the file and let's see what's going on.

kelbel’s picture

I 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.

taherk’s picture

Status: Active » Closed (fixed)