How can I hide this information when the node is a WEBFORM ?

<?php if (!$teaser): ?>
	<?php if ($submitted): ?>
      <div class="metanode"><p><?php print t('By ') .'<span class="author">'. theme('username', $node).'</span>' . t(' - Posted on ') . '<span class="date">'.format_date($node->created, 'custom', "d F Y").'</span>'; ?></p>
       </div> 
      <?php endif; ?>
<?php endif; ?>

Thanks

Comments

gbrussel’s picture

Administer > Site Building > Themes > Configure

On the right you should see a series of checkboxes for each content type, with a header of 'Display post information on'. Unchecking the box for 'Webform' will disable it.

namberone’s picture

Thanksssss....
it's more easy than I can think

drupalphil’s picture

... after hitting configure, locate the Global Settings tab, then you'll see the checkboxes mentioned by gbrussel

Anonymous’s picture

Thank you.

This is so much better then the CSS ".submitted { display: none; }" option.

Work with Drupal not against it.

youssefr’s picture

Hi
In Drupal 6, that's very easy to do. Any ideas how to solve this in Drupal 7 (i.e. hiding the "author" and "date" information from showing to the public).
Thanks everyone.

Youssef

alienzed’s picture

I also would like to know how to do this in Drupal 7

knaka’s picture

Structure > Content Type > Webform, click the Edit link then go to the Display Settings tab and uncheck the box 'Display author and date information'

quantos’s picture

thanks knaka. You're an official life-saver!

Don't shoot me. I'm just a designer.

wajahatgraphics’s picture

THANK YOU VERY MUCH KNAKA :)

kappadelta07’s picture

Finding this just made my night! Thanks! :)

cerr’s picture

There's no display settings but Manage Display but Idon't get how i disable it there, any further assistance would be appreciated!
Thank you!
Ron

cerr’s picture

GOT IT! Thanks, made my night! :)

sakilimran’s picture

Thanks knaka it worked for me.

edison_doulos’s picture

Thank you, it works for me too :)

samwillc’s picture

Thanks knaka, I was looking for this too :)

Sam.