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

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.

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

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

Thank you.

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

Work with Drupal not against it.

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

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

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

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

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

THANK YOU VERY MUCH KNAKA :)

wajahagraphics

Finding this just made my night! Thanks! :)

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

iNetGate - get connected
http://www.inetgate.biz

GOT IT! Thanks, made my night! :)

iNetGate - get connected
http://www.inetgate.biz

Thanks knaka, I was looking for this too :)

Sam.