Page 1 of 2

How to remove welcome message

Posted: Thu Aug 20, 2009 11:06 am
by OpenTS
Hello to all members of the forum,

Please anybody can help me to remove the "Welcome to our site", blah blah text?

Any help is welcomed.

Best regards,

Valeriu

Re: How to remove welcome message

Posted: Thu Aug 20, 2009 2:44 pm
by Aquacide
I would also be interested in learning how to do this,

OR

to be able to change what it says

thanks!

Re: How to remove welcome message

Posted: Tue Sep 21, 2010 10:10 pm
by clinton4
I would also like to know how to disable the Welcome Message. Not only the text, but the whole module.

Re: How to remove welcome message

Posted: Tue Sep 21, 2010 10:20 pm
by clinton4
Okay, i figured it out. But it would be greate to have this like a option in the admin area in the future :)

Here is what i did:

In catalog/view/theme/default/template/common/home.tpl

Replace line 7 to 12 with this:

Code: Select all

      <h1><?php echo $text_latest; ?><!--<?php echo $heading_title; ?>--></h1>
    </div>
  </div>
  <div class="middle">
    <!--<div><?php echo $welcome; ?></div>
    <div class="heading"><?php echo $text_latest; ?></div>-->

Re: How to remove welcome message

Posted: Sun Sep 26, 2010 5:18 pm
by Purebeads
There's another way to remove that text. Simply go into the appropriate language file and delete the text (or replace it with a few spaces).

Re: How to remove welcome message

Posted: Fri Oct 01, 2010 7:27 pm
by sash_007
clinton method dint worked but purebeads method worked

Re: How to remove welcome message

Posted: Sat Oct 02, 2010 9:55 pm
by clinton4
sash_007 wrote:clinton method dint worked but purebeads method worked
Then you must have done something wrong. Works for me on the latest version

Re: How to remove welcome message

Posted: Sat Oct 09, 2010 5:28 am
by Jon
I think maybe the code has changed for latest version 1.4.9.1 ..?
In catalog/view/theme/default/template/common/home.tpl
change line 3 from

<?php if ($welcome) { ?>

to

<?php if (!$welcome) { ?>

Cheers,

Re: How to remove welcome message

Posted: Sat Oct 09, 2010 8:39 am
by readyman
My experience is that I delete the welcome text, then no welcome message shows.
ie. delete the welcome content in the admin

See the code?
<?php if ($welcome) { ?>

That means if welcome exists, then show that portion. If nothing exists, nothing shows.

If you delete the welcome section entirely, in the code, then you'll probably be wanting to add it back again later.

Re: How to remove welcome message

Posted: Sun Oct 10, 2010 3:16 am
by Jon
Thanks for the reply readyman.
I have only just started with opencart, but not with coding. I know what my change does, and that was my intent - to remove the welcome message module entirely. I will not want it back in future, as you might, but if I do can easily put it back.

As for the change you recommend, that is the self-evident approach - i.e. make the change through the admin interface. Now perhaps I did not understand your explanation of how to make the change. Perhaps my inexperience with the system is the cause of my lack of understanding ...perhaps the fault lies in the way you describe it. In any case I tried the obvious first choice appoach, and simply removing the welcome text in the admin side did not remove the block with the welcome title bar on it. Therefore I went into the code. No need for more effort in this regard as far as I am concerned.

Cheers,
Jon

Re: How to remove welcome message

Posted: Wed Oct 13, 2010 8:46 pm
by jonssmith12
Hello
the Removing of WELCOME Message process is like this


I am building a custom shell using Winlogon component, use Minlogon
due to some issues. I want to remove the "Welcome" message screen during
Windows XPe boot time.
This question is not related to the splash screen.



Thanks...

Re: How to remove welcome message

Posted: Thu Oct 14, 2010 5:06 pm
by Gerrit
If you leave the welcome message blank and do not fill the text box with anything the welcome screen will not show.

Re: How to remove welcome message

Posted: Fri Oct 15, 2010 7:45 am
by chuck68
this is how i removed it and it is very simple

To Remove the Welcome to my store in the center of head remove these line in catalog/view/theme/default/template/common/home.tpl


remove this line:

<h1><?php echo $heading_title; ?></h1>

Re: How to remove welcome message

Posted: Mon Dec 20, 2010 6:02 pm
by albertramsbottom
Just delete the text from the welcome wysiwug in the store tab of the settings page in admin but make sure you view the source as there will still be html in their. Get rid of it all

Albert

Re: How to remove welcome message

Posted: Tue Jan 18, 2011 9:07 am
by Kropay
To delete it go to that location and paste this into the edit.tpl

Code: Select all

<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content">
 <!-- <?php if ($welcome) { ?>
  <div class="top">
    <div class="left"></div>
    <div class="right"></div>
    <div class="center">
      <h1><?php echo $heading_title; ?></h1>
    </div>
  </div>
  <div class="middle">
    <div><?php echo $welcome; ?></div>
  </div>
  <div class="bottom">
    <div class="left"></div>
    <div class="right"></div>
    <div class="center"></div>
  </div>-->
  <?php } ?>
  <?php foreach ($modules as $module) { ?>
  <?php echo ${$module['code']}; ?>
  <?php } ?>
</div>
<?php echo $footer; ?> 

Re: How to remove welcome message

Posted: Mon Jul 18, 2011 4:01 am
by pixelpuncher
albertramsbottom wrote:Just delete the text from the welcome wysiwug in the store tab of the settings page in admin but make sure you view the source as there will still be html in their. Get rid of it all

Albert
that did the trick for me. thanks.

Re: How to remove welcome message

Posted: Fri Jul 29, 2011 2:09 am
by liquidgooey
I am using Version 1.5.0 and found it works to open the following file and edit it:

catalog/language/english/module/welcome.php

you'll find:
<?php
$_['heading_title'] = 'Welcome to %s';
?>

which you can change to:
$_['heading_title'] = '';
or whatever you want your message to be.

Our store is here for reference https://secure.shuziamerica.com

Good Luck.

Re: How to remove welcome message

Posted: Fri Jul 29, 2011 10:54 am
by fido-x
In OpenCart 1.5.x, the "Welcome" message you are referring to is now a "module". Log in to your admin, from the menu select "Extensions->Modules". At the bottom of the list, you will see a "Welcome" module. Either disable it or uninstall it.

It is NOT necessary to modify ANY core files.

Re: How to remove welcome message

Posted: Wed Aug 31, 2011 8:38 am
by Ozfarmer
Or just use the CR2 HTML Module instead. ;)

Re: How to remove welcome message

Posted: Sat Sep 10, 2011 8:23 pm
by zenolite
clinton4 wrote:Okay, i figured it out. But it would be greate to have this like a option in the admin area in the future :)

Here is what i did:

In catalog/view/theme/default/template/common/home.tpl

Replace line 7 to 12 with this:

Code: Select all

      <h1><?php echo $text_latest; ?><!--<?php echo $heading_title; ?>--></h1>
    </div>
  </div>
  <div class="middle">
    <!--<div><?php echo $welcome; ?></div>
    <div class="heading"><?php echo $text_latest; ?></div>-->
I think This code is enough to remove the welcome message