By tnutall on
OK ..... I have looked through this forum and I can't seem to locate the solution.
I am trying to get rid of the default block that reads:
Welcome to your new Drupal website!
Please follow these steps to set up and start using your website:
If I deable all the blocks this block is still showing on the front page.
Any idea's ?
Comments
_
See How do I get rid of the "Welcome to your new Drupal website" on the front page?.
◦In 5.x and 6.x, go to
◦In 5.x and 6.x, go to www.yourdomain.com/admin/settings/site-information
This sends me to a dead link.
_
You did replace the 'www.yourdomain.com' with the actual address of your site, yes?
Yes I did.I also tried all 3
Yes I did.
I also tried all 3 options.
in the 3rd one the line
print $content;is not in the page.tplok I located the script but it was on the node.tpl page not the page.tpl
_
It's not a block there's nothing to disable or edit in page.tpl.php to get rid of it.
per that handbook page:
I have no clue why you think you need to edit page.tpl.php-- is there something unclear or confusing about this?
This is the instructions that
This is the instructions that are on the page.
A simple way to change what displays on the front page without installing modules:
In your themes page.tpl, change the line
print $content;and replace it with
if (!drupal_is_front_page()) {print $content;}This prevents the "front" page from displaying the any of the content that would normally show there. You can have your frontpage free from the default welcome message of "River of News" but with all the other things.
_
My bad, I hadn't noticed that addition to the page. Not the method I would have chosen, but whatever. What theme are you using? Every theme should have some form of $content, $content_top, $content_bottom, etc-- something like that (with '$content' in it). The one in node.tpl.php is not what you want.
I'm using the deco theme
I'm using the deco theme
<?php print $head_title; ?>
Edited by WorldFallz - added <code> tags for readability._
Seems to be doing something a little funky with $content in custom function, but it is there:
That's what you want to change, probably to something like:
That didn't work
That didn't work