[support] Possible to hide $submitted when no category is
selected?
Jason Flatt
drupal at oadae.net
Thu Sep 21 22:39:21 UTC 2006
On Thursday 21 September 2006 11:09, Jody Cleveland wrote:
> Hello,
>
> Is there a way to hide the $submitted info when no category is selected?
>
> - jody
Try something like this untested snippet:
<?php if ($terms) { ?>
<span class="submitted"><?php print $submitted?></span>
<span class="taxonomy"><?php print $terms?></span>
<?php } ?>
--
Jason Flatt
http://www.oadae.net/
Father of Six: http://www.flattfamily.com/ (Joseph, 13; Cramer, 11; Travis,
9; Angela; Harry, 5; and William, 12:04 am, 12-29-2005)
Linux User: http://www.sourcemage.org/
Drupal Fanatic: http://drupal.org/
More information about the support
mailing list