Welcome message displays at end of new content posted to front page

angelahoistion - October 6, 2006 - 13:15
Project:User experience
Component:other
Category:bug report
Priority:critical
Assigned:Unassigned
Status:by design
Description

I'm posting new items to front page (=node), but at the end of the items posted to the front page, the Drupal welcome message is visible to anonymous users....is there anyway to hide this message?

Using Drupal 4.6.x, windows IIS

Thanks,

#1

angelahoistion - October 6, 2006 - 16:49
Status:active» by design

found the fix by changing line 1633 in the node.module to:
$output = ' ';

If you delete this output field, you will end up with an empty page displayed, so you need to provide the empty parens statement.

#2

cheef - October 7, 2006 - 17:26

I'm having a similar problem... except the Welcome page, and only the Welcome page, displays for anonymous users. Everything works properly for logged-in users.

#3

cheef - October 7, 2006 - 17:56

I'm whittling away at the problem.
It seems to be some kind of corruption of permissions/user roles -
anonymous users don't have permission to see the nodes that should be the front page.

#4

TLHines - October 8, 2006 - 14:57

Thanks for your work on this, Angela. I tried your solution on line 1633, but it didn't work for me.

As a rather inelegant temporary fix, here's what I came up with. I replaced the whole "Welcome to your new Drupal Website..." text in node.module with my own text/welcome message. In other words, I took all the text from my own site's default node and pasted it into the proper section of node.module.

A couple of caveats:

1) If you do the same, be sure you save a copy of your original node.module--you can go back to it if you totally mess things up.

2) Carefully look for apostrophes in the text you are pasting in place--get rid of all of them, or you'll get an "unexpected text string" message.

3) The code I replaced was on lines 1983 through 2008 of the node.module.

I've attached my re-worked document (named node2.module) so you can compare what I did with your own work.

Again, this isn't a proposed long-term solution. But it gets rid of the "Welcome to your new drupal website" message until a more elegant solution is found.

TL Hines
http://www.tlhines.com
The Other Side project (Drupal): http://www.tlhines.com/breakonthrough

AttachmentSize
node2.module87.3 KB

#5

ozyank - October 10, 2006 - 18:00

Has there been any progress on this? The problem has been reported several times in various ways but there does not seem to be a resolution. In my case, after I upgraded a test site, the Welcome page continues to appear no matter what I do. I have documented this in other posts but simply, after allowing access by anonymous users to node content, the Welcome page is always displayed. I tried creating a static page for anonymous users as well but access was denied to the static page so that didn't solve the problem.

All of the steps on the Welcome page have been followed.

I am prevented from upgrading because of this problem. I hope someone can help

#6

angelahoistion - November 9, 2006 - 18:09
Priority:normal» critical

This is hasn't been resolved for 4.6.x... as you can see:
www.scalemsp.org

for anonymous users the welcom to drupal (admin) message is displayed....

This is really a critical issue since I've already had someone try to create an account from this...I'm trying to change the message but it seems that I'm going to have to restart my computer because clearing the cache doesn't render the changes.......

#7

angelahoistion - November 9, 2006 - 19:30

It seems that if I tell Drupal to limit the number of posts to the front page to the number that is there, than the navigation at the bottom disappears and hence so does the Welcome Message...not a pretty fix but it works....of course, it seems that everytime the number on the front page changes, than you have change the drupal option too....doesn't permit you to have continuation pages....

 
 

Drupal is a registered trademark of Dries Buytaert.