When someone comes to speakpoetic.com for the first time they see the message that I saw when I first installed the system. Checking the source code I find it listed as 'first-time' yet I am unable to find this to change it so the success install message does not appear. Any insights into where or how I can change the message for this?

Thanks, Gary

Comments

coreyp_1’s picture

  1. Make sure the "access content" permission is enabled for anonymous users if you are wanting them to see a listing of the most recent stories (like the Drupal front page).
  2. Make sure your nodes are published and have the "promote to front page" option set (again, if you are going for a list like the Drupal front page).
  3. If you want a custom front page, then change the front page setting to the appropriate node number, or install the Front Page module.

- Corey

speakpoetic’s picture

Thanks Corey,

The access content permission is enabled for anonymous users. There are several nodes set to promote to front page. I'll look for the Front Page module...this may be the key I am missing. Thanks!!

GC Wood
http://speakpoetic.com/portal

speakpoetic’s picture

I installed the Front Page module and made changes to the body. Yet, still when a new visitor comes to the site they see the new Drupal install messages. Any other ideas?

GC Wood
http://speakpoetic.com/portal

coreyp_1’s picture

Hmmm...

Is cache enabled? If so, have you cleared it?

- Corey

speakpoetic’s picture

Yep...cleared the cache so I could see the site refreshed yet there is still the opening message from Drupal rather than what I changed it to with the module...

GC Wood
http://speakpoetic.com/portal

vm’s picture

This situation sounds like the node_access table problem that occurs when an access module is installed then removed incorrectly.

see: http://drupal.org/node/64114

speakpoetic’s picture

Thanks...I'll follow the link and see if I can correct it from the information provided there!

I appreciate everyone's help with this!

GC Wood
http://speakpoetic.com

speakpoetic’s picture

Ran both of those to no avail...hmmm...I will keep trying...

GC Wood
http://speakpoetic.com

pnm’s picture

I landed here looking for help on disabling the first-time message. Add this to style.css for a simple, unelegant way. (Anyone have a better answer?)

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

Hi everyone,

This solution works for me. It may work for you.

This solution allows me to have a front page with just blocks. I can promote content to the front page or demote it. I never see the "first-time" message either way.

I put this code in my "page-front.tpl.php" file just before I print the $content variable.


		$pos = strpos($content,"id=\"first-time");
		if ($pos != false)
		{
			// find <div id="first-time">...</div>
			$div_open_tag_loc = strpos(strrev($content),strrev("<div"),strlen($content) - $pos + 1);
			$div_open_tag_loc = strlen($content) - $div_open_tag_loc; 
			$div_close_tag_loc = strpos($content,"div>",$pos);
			$prefix_content = substr($content,0,$div_open_tag_loc-4);
			$suffix_content = substr($content,$div_close_tag_loc+4);
			$content = $prefix_content . $suffix_content; 
		}
	

-Roger

simon king-1’s picture

this worked for me.. I only have blocks on the homepage so this message appeared.
would be handy to have a feature to switch it off.

I wouldn't advise hiding the div with CSS since spiders will still crawl it and influence your site being indexed..
if lots of people do it there is a big duplicate content issue, especially being in such a prime location.

-simon