Need to remove Drupal Welcome prompt. Seems like it requires that I post something to the front page, however I'd like to keep the content blank there.

Any clues on how to achieve this?

Comments

wilmarso’s picture

- Create a Page
- Give it a title like 'Home', 'Coming Soon!', or 'You Just Wait and See'
- Leave the Body blank
- Under Publishing Options for the page, make sure both 'Published' and 'Promote to front page' are checked

That should work. I don't have a site at that stage of development so I may have missed something.

g10tto’s picture

It creates the title of the story and posts it to the homepage. I want to dispatch the content and the welcome message completely.

g10tto’s picture

bump. Is there a way to remove the hard-coded text from this prompt at least?

BradleyT’s picture

Create a new page and use a URL of home

Go to Administer -> Site Information
Put the above URL into the field for Default Front Page.

g10tto’s picture

actually, I went ahead and removed that whole welcome message "else" statement from node.php

g10tto’s picture

The div that the welcome message is inside is called "first-time". In your theme's stylesheet, just paste the following

#first-time { display:none; }

EASY!

nevets’s picture

Note that modify core files is not best practice and makes upgrading Drupal difficult.

BrianLewisDesign’s picture

The unwelcome module seems to not work anymore.

/*Use CSS*/
#first-time { width:0; height:0; visibility:hidden; overflow:hidden; }

My Drupal contributions are happily supported by my company BusinessWire.

appmux’s picture

That CSS will hide it from viewer but not from the search crawlers... and you don't want 'Welcome to your new Drupal website!' text appear under search results...

On top of that, Unwelcome module is for those who don't know or want to modify anything, download-enable kinda thing.

ali.sharif’s picture

Also you can do that by editing modules-> node -> node.module at line 1764 to 1774
All you need is comment them or change the text of welcome message

but i usually change this variable $default_message at line 1774 to other words! ex: $default_messageee
you can do it too:)

appmux’s picture

Hacks of the core were never a good idea because they will be wiped with the next update, or you have to keep track of those and merge with the newer version of the core.

Unwelcome module allows you to do the same but clean way, without any kind of hacks. Download-enable and that's it!