Page 1 of 1

Welcome Message

Posted: Tue Aug 23, 2011 12:59 am
by wunda
This has properly been covered somewhere else but i couldn't find it...

I want to change the welcome message to my website.. However i can't find it in the admin control panel and im not very good with editing .php although i do have dreamweaver if i need it... Thanks alot :) WundA

Re: Welcome Message

Posted: Tue Aug 23, 2011 2:19 am
by i2Paq
What version and what exactly do you want to change?

Re: Welcome Message

Posted: Tue Aug 23, 2011 2:47 am
by wunda
1.5.1 and when i use the "welcome" extension i get a extra welcome message on the top of my store and i want to remove or edit this message.

Re: Welcome Message

Posted: Fri Aug 26, 2011 12:24 am
by wunda
BUMP - Someone must know? lol

Re: Welcome Message

Posted: Fri Aug 26, 2011 1:10 am
by i2Paq
This you can do in that same module.

Re: Welcome Message

Posted: Fri Aug 26, 2011 1:32 am
by wunda
Where? i really have no idea how to find and delete this message.. Its in the way lol. i've looked in all the modules and cannot find it.. www.rocket-traffic.com - "welcome to rocket-traffic" i want removed please! ty

Re: Welcome Message

Posted: Fri Aug 26, 2011 2:16 am
by screamkitty
I haven't played with 1.5, much yet - but I do know a couple quick workarounds:

1. Edit the CSS file for your template and add:

Code: Select all

div.welcome {display:none;}
if it's still showing up, try:

Code: Select all

div.welcome {display:none !important;}
2. Edit the "catalog/language/english/common/home.php" file and delete the value for $_['heading_title'] so it looks like this:

Code: Select all

$_['heading_title'] = '';
I'd definitely try the 1st method - as that won't be overwritten upon update (as long as you're not using the default template).

Re: Welcome Message

Posted: Sat Aug 27, 2011 6:18 pm
by wunda
home.php is not in the location you said it was mate, and i've found the welcome.tpl and this is the code inside ---

<div class="welcome"><?php echo $heading_title; ?></div>
<?php echo $message; ?>

Can i edit this to get rid of it? Thanks.

Re: Welcome Message

Posted: Mon Aug 29, 2011 3:29 pm
by screamkitty
You certainly can, although I would still recommend the 1st method (CSS) - but they'll both work.

Replace this:

Code: Select all

<div class="welcome"><?php echo $heading_title; ?></div>
<?php echo $message; ?>
..with this:

Code: Select all

<?php /*?><div class="welcome"><?php echo $heading_title; ?></div><?php */?>
<?php echo $message; ?>
It's just a PHP comment, so it's non-destructive (in case you ever want it back). You can move the outer <?php /*?>'s to inside the <div> tag if you want to put something else in it's place.

Re: Welcome Message

Posted: Mon Aug 29, 2011 3:38 pm
by rize
You can remove it by clicking the 'uninstall' beside welcome module :)

Re: Welcome Message

Posted: Mon Aug 29, 2011 5:17 pm
by judita1
heh, sometimes it's hard to see simple things, thanks rize.

Re: Welcome Message

Posted: Tue Aug 30, 2011 8:37 pm
by wunda
no i want the welcome module there :) but it gives me the added extra "Welcome" at the top of my website witch looks wrong.. but cannot edit it via admin panel :)... Im new but im not stupid lol ty all

Re: Welcome Message

Posted: Tue Aug 30, 2011 8:59 pm
by uksitebuilder
edit the css in your stylesheet as per screamkitty's post above

Re: Welcome Message

Posted: Wed Jul 04, 2012 8:08 pm
by vicky_vale_71
Hi I'm a newbie too and I'm having the very same problem. If I understand correctly, Screamkitty's solution will hide the 'welcome to…" message which seems to be automatically generated by the welcome module.

I want to change this heading - which I understand is a <h1> header to a title including key words to up my ranking i the search engines.

How do I change this text and still have it visible

Please help it's driving me mad - Thanks Vicky

Re: Welcome Message

Posted: Wed Jul 04, 2012 10:12 pm
by vicky_vale_71
OMG I found it - It is on other posts, but was hard to find so for benefit of other newbie's here's how i did it. It meant modifiying core code, so when I upgrade I'll have to redo it - I can't see any other way tho - if this is inadvisable maybe someone cleverer than me can add better advice

public_html/catalog/language/english/module/welcome.php
$_['heading_title'] = 'Welcome to %s';

I changed to
$_['heading_title'] = 'MY MESSAGE';

I now have a h1 header on my home page with loads of key words included - will post whether this improves my SEO
Lovin' Opencart so much :)

Re: Welcome Message

Posted: Thu Jul 05, 2012 4:35 pm
by vicky_vale_71
Ok, further to last post, My developer friend says there is a hidden H1 tag on home page which is my store name,
--></script><h1 style="display: none;">MY STORE</h1>

he says 'MY MESSAGE' (which I was convinced was an H1 tag because when I adjusted H1 in CSS file it updated) Is apparently not H1 - ?
<div id="content"><div class="welcome">MY MESSAGE</div>
<p>

Is this because of the hidden H1 tag?
If so do I need to delete it?
if so, how?

Please can someone explain this

Re: Welcome Message

Posted: Wed Sep 04, 2013 5:57 pm
by bmsupplies
Thanks to this post I was able to remove the welcome message from www.bmsupplies.co.uk. I had tried to edit the welcome message with the the header "Welcome to blah blah" but gave up and opted to just stick to the core description.

I tend to keep the H1 as it is and just run H2, H3 tags in this module, if you want to enhance the H1 tag on "MYSTORE" put your keywords in the admin panel system/settings/general & system/settings/Store for example ours is "B&M Supplies -Mobility, Nursing & Care Home Supplier North West"

Love this forum!! :crazy: