Posted by kaushalrishi7 on December 28, 2012 at 6:06pm
Hi
I am trying to remove the following message from my site's front page.
"Welcome to mysite"
Unfortunately, I've been unable to do so. Adding the following line to template.php is not working for me.
"unset($vars['page']['content']['system_main']['default_message']);"
Please suggest some good alternatives. I am new to drupal and php.
Thanks
Comments
=-=
you can use CSS or a custom page--front.tpl.php
could also try
<?phpunset($page['content']['system_main']['default_message']);
?>
in page.tpl.php may work. don't forget to clear cache afterwards.