Would like to remove welcome message from frontpage Possible Duplicate:
  Removing the “No front page content has been created yet.” message from the front page  




I am using the Zen theme and don't wan't any "nodes" on my homepage. I've got menus and blocks, but not nodes as such. I don't want the "No front page content has been created yet" text to appear. What is the best way to get rid of it?

I've currently only got one template that I'm using. page.tpl.php

drupal_set_title(t('Welcome to @site-name', array('@site-name' =&gt; variable_get('site_name', 'Drupal'))), PASS_THROUGH);

$default_message = '&lt;p&gt;' . t('No front page content has been created yet.') . '&lt;/p&gt;';
If you add a node, publish and check "promote to front page" the "No front page content" message will disappear, even if the node isn't shown at all.

See node_page_default for the logic there.

Alternatively, you could look into use hook_page_alter to remove the $build['default_message']