logo       

Re: Hide node's "Submitted by .." information: msg#00119

php.drupal.support

Subject: Re: Hide node's "Submitted by .." information

Thanks for the tip Adrian!

Adrian Rossouw wrote:

Ross wrote:

I was experimenting with this a little. I initially removed the 'submitted by' line from my template (phptemplate) as I didn't want it for stories and pages, but then I discovered that this also removed it from discussion posts in the forum (where I did want it).


you can do it in the template for phptemplate

just use

<?php if (in_array($node->type, array("blog", "forum"))) : ?>
Submitted by ...
<?php endif; ?>

I am just waiting for killes to say how badly in_array performs though.


--
[ Drupal support list | http://list.drupal.org/ ]



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise