Post by wunda » Tue Aug 23, 2011 12:59 am

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

Newbie

Posts

Joined
Tue Aug 23, 2011 12:57 am

Post by i2Paq » Tue Aug 23, 2011 2:19 am

What version and what exactly do you want to change?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by wunda » Tue Aug 23, 2011 2:47 am

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.

Newbie

Posts

Joined
Tue Aug 23, 2011 12:57 am

Post by wunda » Fri Aug 26, 2011 12:24 am

BUMP - Someone must know? lol

Newbie

Posts

Joined
Tue Aug 23, 2011 12:57 am

Post by i2Paq » Fri Aug 26, 2011 1:10 am

This you can do in that same module.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by wunda » Fri Aug 26, 2011 1:32 am

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

Newbie

Posts

Joined
Tue Aug 23, 2011 12:57 am

Post by screamkitty » Fri Aug 26, 2011 2:16 am

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

New member

Posts

Joined
Thu Dec 30, 2010 5:42 pm

Post by wunda » Sat Aug 27, 2011 6:18 pm

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.

Newbie

Posts

Joined
Tue Aug 23, 2011 12:57 am

Post by screamkitty » Mon Aug 29, 2011 3:29 pm

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.

New member

Posts

Joined
Thu Dec 30, 2010 5:42 pm

Post by rize » Mon Aug 29, 2011 3:38 pm

You can remove it by clicking the 'uninstall' beside welcome module :)

New member

Posts

Joined
Fri Jul 15, 2011 11:29 am

Post by judita1 » Mon Aug 29, 2011 5:17 pm

heh, sometimes it's hard to see simple things, thanks rize.

dieta białkowa


Newbie

Posts

Joined
Mon Aug 29, 2011 5:12 pm

Post by wunda » Tue Aug 30, 2011 8:37 pm

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

Newbie

Posts

Joined
Tue Aug 23, 2011 12:57 am

Post by uksitebuilder » Tue Aug 30, 2011 8:59 pm

edit the css in your stylesheet as per screamkitty's post above

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by vicky_vale_71 » Wed Jul 04, 2012 8:08 pm

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

Newbie

Posts

Joined
Fri Jan 06, 2012 1:49 am

Post by vicky_vale_71 » Wed Jul 04, 2012 10:12 pm

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

Newbie

Posts

Joined
Fri Jan 06, 2012 1:49 am

Post by vicky_vale_71 » Thu Jul 05, 2012 4:35 pm

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

Newbie

Posts

Joined
Fri Jan 06, 2012 1:49 am

Post by bmsupplies » Wed Sep 04, 2013 5:57 pm

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:

New member

Posts

Joined
Tue May 01, 2012 5:51 pm
Who is online

Users browsing this forum: No registered users and 364 guests