It would be nice to have a webpage interface to disable the "Welcome to your new Drupal-powered website ...." statement.

Comments

chx’s picture

And what do you want to achieve by this?

haisam’s picture

Well, I have mission, and blocks in the content section and don't want to have the Welcome message appear when no blog/story/page is promoted to the front page. In other words I am not promoting blogs/story/page to the front page and hence don't want that message to appear. I can go ahead and delete that message from the code but that would break when I upgrade.

IMHO, the Welcome message should not be hardcoded but should be in the database and can be de-activated.

killes@www.drop.org’s picture

Status: Active » Closed (won't fix)

You can set any page to be your front page, see admin/settings

haisam’s picture

You misunderstood. I don't want the "Welcome ..." message to appear.

killes@www.drop.org’s picture

It won't appear if you set the front page eg to "user" or to some other path.

haisam’s picture

I did that and the only thing that disappeared was the mission statement

eaton’s picture

I think what he's saying is that he's not using a *content page* for his ffront page content -- rather, he's assigning blocks to the 'content' region and only wants them to show up.

While I don't think disabling the welcome message is the answer, there's the seed of an important change here. Should the center content be a block in and of itself?

chx’s picture

Plenty of possibilites. Use front_page module. Use an empty node.

greg_y’s picture

For what it's worth I would second the notion of disabling the "Welcome to Drupal" message when there is no content on the front page. For instance, I am developing a site w/ 4.7 that will have several blocks in the content area of the front page, but (ideally) no actual individual nodes promoted there. I have read this thread and http://drupal.org/node/30816 and understand my options, but it seems philosophically that one shouldn't have to hack node.module or install flexinode and create a empty content type simply to remove this message.

My guess is that with 4.7's ability to put blocks in the content area, the simple block creation of Views.module, and examples like FresnoFamous.com, 'content-less' front pages full of blocks will become more common. So this may be worth addressing after all.

---
PS In the thread above (http://drupal.org/node/30816) one user reported that Front_Page does not solve this problem. "Front_page doesn't work on q=node. if there is no promoted content you get the install welcome."

derekgws’s picture

a quick edit to the file .../modules/node/node.module will clear out the message.

do a search (ctrl+F) for the word "Welcome" in that file and then comment out the message like this:

  else {
    /*
    $default_message = t('<h1 class="title">Welcome to your new Drupal website!</h1><p>Please follow these steps to set up and 
    ...
    etc.
    ...
    $output = '<div id="first-time">'. $default_message .'</div>';
    */
  }
scedwar’s picture

That is great. We're rolling a patch for our own site to keep this in place.

Why? It is far too easy on a multi site, domain module enabled, panel pages (for the frontpage) site, to mess things up. I'd rather have a nicer message for our users about our site than some Drupal specific. I strongly urge core modifications in future Drupal versions a setting to override this permanently for a site.

Stephen

oeklesund’s picture

I do have the same problem... nothing new in the sun?

petrcerm’s picture

I hacked my theme's style.css file like this:

#first-time {
    display: none;
}
novan_as’s picture

Thanks petrcerm :)

firemountain’s picture

Yes thanks be to petrcerm!

appmux’s picture

There's a module for that now:

http://drupal.org/project/unwelcome

BrianLewisDesign’s picture

The unwelcome module seems to not work anymore.

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

appmux’s picture

Bad idea. 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. Kinda download-enable thing.