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>
      <?php endif; ?>
<?php endif; ?>



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

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

danomanion’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

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.


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


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!

cerr’s picture

GOT IT! Thanks, made my night! :)

sakilimran’s picture

Thanks knaka it worked for me.

samwillc’s picture

Thanks knaka, I was looking for this too :)