Removing "Welcome to " - Post ID 93432
Does anyone know which file I need to edit to get that annoying bit of text off of the shopping cart. Its ruining the header graphic that I have made. Any help would be great!
Thanks!
Jason
Thanks!
Jason
Hi;
/ccdata/data/index.inc.php
Look for $myPage->getConfig('homeheader') ) Around line 166.
The code is right after that.
Frank
/ccdata/data/index.inc.php
Look for $myPage->getConfig('homeheader') ) Around line 166.
The code is right after that.
Frank
Hi
Located the theme file you are using e.g. Clean Slate.sct open with WINZIP and located the file home.xml in the files folder, open home.xml with notepad, find the words "Welcome to" and change these to whatever you require, save the file and then close WINZIP,
Until the next update of the theme file by coffee-cup, the Shopping Creator will produce the words you want every time you generate a change to your shop. If changing the theme simply edit the corresponding home.xml file.
John W
Located the theme file you are using e.g. Clean Slate.sct open with WINZIP and located the file home.xml in the files folder, open home.xml with notepad, find the words "Welcome to" and change these to whatever you require, save the file and then close WINZIP,
Until the next update of the theme file by coffee-cup, the Shopping Creator will produce the words you want every time you generate a change to your shop. If changing the theme simply edit the corresponding home.xml file.
John W
I m trying yo create a <title> tag , but i dont want it to appear in the body of my site.
I have tried the above solutions but i keep on getting errors. If i open the style in directly with winzip, i m getting read only errors. if i try to edit the file on the servers i just get errors.
i trying to get this title tag
<title>Lambayrules | Headphone amplifier | Speakers | Headphones<tiltle>
this appears in the main page
'welcome to Lambayrules | Headphone amplifier | Speakers '
any help will be appreciated
I have tried the above solutions but i keep on getting errors. If i open the style in directly with winzip, i m getting read only errors. if i try to edit the file on the servers i just get errors.
i trying to get this title tag
<title>Lambayrules | Headphone amplifier | Speakers | Headphones<tiltle>
this appears in the main page
'welcome to Lambayrules | Headphone amplifier | Speakers '
any help will be appreciated
Hi
It's not clear what the problem is, which theme are you using; I have not experienced any problem with opening the sct theme files with winzip (version 11.2) and editing their contents with notepad and/or CC Html Editor.
Regarding the title tags <title> .........</title>,
i.e. <title>Lambayrules | Headphone amplifier | Speakers | Headphones</title>, the title tags are only used in the header area of a web page and are used to provide info for search engines and the browser title bar , they do not provide detail within the rendered web page.
The shopping cart software obtains the detail for the title tags from the Shop Name field which is located under Shop Settings.
Regards
JW
It's not clear what the problem is, which theme are you using; I have not experienced any problem with opening the sct theme files with winzip (version 11.2) and editing their contents with notepad and/or CC Html Editor.
Regarding the title tags <title> .........</title>,
i.e. <title>Lambayrules | Headphone amplifier | Speakers | Headphones</title>, the title tags are only used in the header area of a web page and are used to provide info for search engines and the browser title bar , they do not provide detail within the rendered web page.
The shopping cart software obtains the detail for the title tags from the Shop Name field which is located under Shop Settings.
Regards
JW
John thanks for that,
First of all im a complete novice, i have only being at this for a couple of weeks ... however
All I want it the <title> tag. (for search engines)
When i input the shop name in the Shop Name field, it repeat the name in the body of the site (welcome to lambayrules), the banner / logo field (lambayrule) and it creates the <title> tag.
I deleted the "Welcome to " by removing the code $myPage->getConfig('homeheader') ) ...... etc in the index.php file.
And now i m trying to work out how to delete the shop name it in the header / logo field.
i assume it is in the same file ?
is there not a simple html file I could just edit ? because i would like to create a longer <title> tag and coffeecup limits you.
cheers
First of all im a complete novice, i have only being at this for a couple of weeks ... however
All I want it the <title> tag. (for search engines)
When i input the shop name in the Shop Name field, it repeat the name in the body of the site (welcome to lambayrules), the banner / logo field (lambayrule) and it creates the <title> tag.
I deleted the "Welcome to " by removing the code $myPage->getConfig('homeheader') ) ...... etc in the index.php file.
And now i m trying to work out how to delete the shop name it in the header / logo field.
i assume it is in the same file ?
is there not a simple html file I could just edit ? because i would like to create a longer <title> tag and coffeecup limits you.
cheers
the site is www.lambayrule.ie
I have worked it out
i just deleted in this section of code in the index.php file on the server..
if (
$myPage->getConfig('websitehref') )
{ ?><a href="<?php echo $myPage->getConfig('websitehref'); ?>"><img src="<?php echo $myPage->getConfig('shoplogo'); ?>" alt="<?php echo $myPage->getConfig('shopname'); ?>" /></a><h1><?php echo $myPage->getConfig('shopname'); ?></h1><?php } else { ?><img src="<?php echo $myPage->getConfig('shoplogo'); ?>" alt="<?php echo $myPage->getConfig('shopname'); ?>" /><h1><?php echo $myPage->getConfig('shopname'); ?></h1><?php } ?><?php } else { ?><?php

So the shop name does not appear in the header / logo area.
I have kept the a copy of the original code.
Just in case..
i just deleted in this section of code in the index.php file on the server..
if (
$myPage->getConfig('websitehref') )
{ ?><a href="<?php echo $myPage->getConfig('websitehref'); ?>"><img src="<?php echo $myPage->getConfig('shoplogo'); ?>" alt="<?php echo $myPage->getConfig('shopname'); ?>" /></a><h1><?php echo $myPage->getConfig('shopname'); ?></h1><?php } else { ?><img src="<?php echo $myPage->getConfig('shoplogo'); ?>" alt="<?php echo $myPage->getConfig('shopname'); ?>" /><h1><?php echo $myPage->getConfig('shopname'); ?></h1><?php } ?><?php } else { ?><?php

So the shop name does not appear in the header / logo area.
I have kept the a copy of the original code.
Just in case..
Hi Lambayrules
Simpler and safer method is just insert the following line in the Layout Styles section of your default.css file,
#header h1 {display:none;}
and comment out the following lines or similar if they exist, comments are created in css files by inserting /* before the comment and */ after the comment as follows:-
/*
#header h1 {float:left; display:inline; margin:50px 0 0 15px; font-family:Georgia, Times, "Times New Roman", serif; font-size:2em; color:#fff}
#header h1 a {text-decoration:none; color:#fff}
*/
the above lines are in the default.css associated with the "Classical Jazz" theme, yours may be different.
this will cause browsers to hide the header h1 heading, thereby removing Welcome to etc from the rendered web page.
If you do this in the theme file, the change will remain active until such times as CoffeeCup make changes to the theme file to reflect additional shopping cart features. Allowing you add products and categories and upload without having to amend files.
Simpler and safer method is just insert the following line in the Layout Styles section of your default.css file,
#header h1 {display:none;}
and comment out the following lines or similar if they exist, comments are created in css files by inserting /* before the comment and */ after the comment as follows:-
/*
#header h1 {float:left; display:inline; margin:50px 0 0 15px; font-family:Georgia, Times, "Times New Roman", serif; font-size:2em; color:#fff}
#header h1 a {text-decoration:none; color:#fff}
*/
the above lines are in the default.css associated with the "Classical Jazz" theme, yours may be different.
this will cause browsers to hide the header h1 heading, thereby removing Welcome to etc from the rendered web page.
If you do this in the theme file, the change will remain active until such times as CoffeeCup make changes to the theme file to reflect additional shopping cart features. Allowing you add products and categories and upload without having to amend files.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.