Post by OpenTS » Thu Aug 20, 2009 11:06 am

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

Newbie

Posts

Joined
Fri Jul 31, 2009 4:35 am

Post by Aquacide » Thu Aug 20, 2009 2:44 pm

I would also be interested in learning how to do this,

OR

to be able to change what it says

thanks!

Matt Egenes
http://www.aquacide.com/OpenCart
(my opencart site is still way in progress)


User avatar
Newbie

Posts

Joined
Tue Aug 11, 2009 5:40 pm


Post by clinton4 » Tue Sep 21, 2010 10:10 pm

I would also like to know how to disable the Welcome Message. Not only the text, but the whole module.

Spam blocking PHP script, use it!


Active Member

Posts

Joined
Sun Jan 17, 2010 11:54 am

Post by clinton4 » Tue Sep 21, 2010 10:20 pm

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>-->

Spam blocking PHP script, use it!


Active Member

Posts

Joined
Sun Jan 17, 2010 11:54 am

Post by Purebeads » Sun Sep 26, 2010 5:18 pm

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).

Active Member

Posts

Joined
Fri Apr 30, 2010 12:07 pm

Post by sash_007 » Fri Oct 01, 2010 7:27 pm

clinton method dint worked but purebeads method worked

New member

Posts

Joined
Wed Apr 28, 2010 10:33 am

Post by clinton4 » Sat Oct 02, 2010 9:55 pm

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

Spam blocking PHP script, use it!


Active Member

Posts

Joined
Sun Jan 17, 2010 11:54 am

Post by Jon » Sat Oct 09, 2010 5:28 am

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,

Jon
Newbie

Posts

Joined
Sat Oct 09, 2010 5:23 am

Post by readyman » Sat Oct 09, 2010 8:39 am

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.

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by Jon » Sun Oct 10, 2010 3:16 am

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

Jon
Newbie

Posts

Joined
Sat Oct 09, 2010 5:23 am

Post by jonssmith12 » Wed Oct 13, 2010 8:46 pm

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...

Genius is an immense capacity for taking trouble


Newbie

Posts

Joined
Mon Oct 11, 2010 10:50 pm

Post by Gerrit » Thu Oct 14, 2010 5:06 pm

If you leave the welcome message blank and do not fill the text box with anything the welcome screen will not show.

For modelcars cars see my OC 3.0.2.0 shop: http://www.gbcars.nl/
For Wooden Toys see my 2.3.0.2 shop: https://www.dehoutentreinenwinkel.nl/


User avatar
Active Member

Posts

Joined
Fri Nov 27, 2009 9:06 pm

Post by chuck68 » Fri Oct 15, 2010 7:45 am

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>

Newbie

Posts

Joined
Fri Oct 15, 2010 7:35 am

Post by albertramsbottom » Mon Dec 20, 2010 6:02 pm

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


Posts

Joined
Mon Dec 20, 2010 5:45 pm

Post by Kropay » Tue Jan 18, 2011 9:07 am

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; ?> 

Newbie

Posts

Joined
Sun Jan 16, 2011 11:06 am

Post by pixelpuncher » Mon Jul 18, 2011 4:01 am

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.

Newbie

Posts

Joined
Sun Jul 03, 2011 3:09 pm

Post by liquidgooey » Fri Jul 29, 2011 2:09 am

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.

Newbie

Posts

Joined
Wed Sep 29, 2010 12:50 pm

Post by fido-x » Fri Jul 29, 2011 10:54 am

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.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by Ozfarmer » Wed Aug 31, 2011 8:38 am

Or just use the CR2 HTML Module instead. ;)

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by zenolite » Sat Sep 10, 2011 8:23 pm

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

Apple News Apple News Release Apple News Conference


Newbie

Posts

Joined
Sat Sep 10, 2011 8:16 pm
Who is online

Users browsing this forum: No registered users and 1 guest