Zen Cart Logo
Forums / Basic Configuration / remove and change main page logo and sales message?

remove and change main page logo and sales message?

Views: 3,579

Results 1 to 13 of 13
6 Feb 2012, 2:06 PM
#1
abbis avatar

abbis

New Zenner

Join Date:
Feb 2012
Posts:
6
Plugin Contributions:
0

remove and change main page logo and sales message?

hi folks, does anyone know how to change the zen cart banner logo at the top of the main page. also how do you update or change the "sales message goes here" inscription next to it.? i' ve searched in the admin section but it doesn't seem to be there. how did those of you with your own logos and slogans change it? :huh:

6 Feb 2012, 2:32 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,097
Plugin Contributions:
56

Re: remove and change main page logo and sales message?

You'll need to become familiar with your admin's Tools->Developers Tool Kit. Use it to search for the string "sales message goes here" and it will display the file(s) in which that string is found ... so that you can edit them ...

10 Feb 2012, 10:06 PM
#4
brandonturpin avatar

brandonturpin

Zen Follower

Join Date:
Dec 2008
Location:
Utah, USA
Posts:
183
Plugin Contributions:
7

Re: remove and change main page logo and sales message?

includes > languages > english > YOUR TEMPLATE > header.php

23 Feb 2012, 12:53 AM
#5
kenton avatar

kenton

New Zenner

Join Date:
Sep 2011
Posts:
38
Plugin Contributions:
0

Re: remove and change main page logo and sales message?

I can't seem to change the sales tag :frusty:

/includes/languages/english/custom/header.php looks like:

<?php /** * @package languageDefines * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: header.php 2940 2006-02-02 04:29:05Z drbyte $ */ // header text in includes/header.php define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account'); define('HEADER_TITLE_MY_ACCOUNT', 'My Account'); define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart'); define('HEADER_TITLE_CHECKOUT', 'Checkout'); define('HEADER_TITLE_TOP', 'Top'); define('HEADER_TITLE_CATALOG', 'Home'); define('HEADER_TITLE_LOGOFF', 'Log Out'); define('HEADER_TITLE_LOGIN', 'Log In'); // added defines for header alt and text define('HEADER_ALT_TEXT', 'Freefly :: Purveyors of all things skydiving'); define('HEADER_SALES_TEXT', 'Buy stuff from us'); define('HEADER_LOGO_WIDTH', '192px'); define('HEADER_LOGO_HEIGHT', '64px'); define('HEADER_LOGO_IMAGE', 'logo.gif'); // header Search Button/Box Search Button define('HEADER_SEARCH_BUTTON','Search'); define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here'); ?>

I've used Admin >> Tools >> Developers Tool Kit to find "sales message" and got this:
Searching 909 files ... for: sales message

$HOME/includes/languages/english/classic/header.php

Line #21 : define('HEADER_SALES_TEXT', '<h1>Sales Message Goes Here</h1>');

I realise that I can change it in this file but I want the change to be immune from upgrades.

Aside from creating header.php in the custom directory (as per above) is there a setting I need to change to make ZC look at this file?

I am on 1.3.9h.

Thanks
Kenton

23 Feb 2012, 1:26 AM
#6
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: remove and change main page logo and sales message?

/includes/languages/english/custom/header.php looks like:

Is your template actually named "custom". If not, that would be the problem.

23 Feb 2012, 2:38 AM
#7
kenton avatar

kenton

New Zenner

Join Date:
Sep 2011
Posts:
38
Plugin Contributions:
0

Re: remove and change main page logo and sales message?

RescoCCC:

Is your template actually named "custom". If not, that would be the problem.

Umm, I have a directory called custom as per above, but it sounds like (from your question) that I need a template called "custom" to get this to work. How do I set that up?

Kenton

23 Feb 2012, 7:58 PM
#8
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: remove and change main page logo and sales message?

Kenton:

Umm, I have a directory called custom as per above, but it sounds like (from your question) that I need a template called "custom" to get this to work. How do I set that up?

Kenton

When you see "custom" in faq's and tutorials, that's a substitution for the name of the template you're actually using. So, let's say your template is called kenton_template. The path for the file would then be:

includes/languages/english/kenton_template/header.php

The overrides system is built around the template system. So you would name any overrides folders you create with exactly the same name as the template you're using.

And the template should not be the classic of template_default. Tutorial for creating a custom template:

https://www.zen-cart.com/tutorials/index.php?article=142

Or you can download one from the add-ons section.

23 Feb 2012, 9:28 PM
#9
kenton avatar

kenton

New Zenner

Join Date:
Sep 2011
Posts:
38
Plugin Contributions:
0

Re: remove and change main page logo and sales message?

Yes, I knew about the "custom" thing but ... I've missed the step supplied in your link about creating the template.

THANKS!!! The missing link!:smile:

Kenton

28 Feb 2012, 6:04 PM
#10
minni avatar

minni

New Zenner

Join Date:
Feb 2012
Posts:
3
Plugin Contributions:
0

Re: remove and change main page logo and sales message?

Hello Mr.
i had try all my possible way to edit sales message goes here and logo
I`m use-ing Zen Cart v1.3.9d[COLOR="Red"]
Template Language Template Name Template Directory
Default(All) Classic Contemporary Green classic

Pls. help

28 Feb 2012, 10:15 PM
#11
minni avatar

minni

New Zenner

Join Date:
Feb 2012
Posts:
3
Plugin Contributions:
0

Re: remove and change main page logo and sales message?

lat9:

You'll need to become familiar with your admin's Tools->Developers Tool Kit. Use it to search for the string "sales message goes here" and it will display the file(s) in which that string is found ... so that you can edit them ...
You'll need to become familiar with your admin's Tools->Developers Tool Kit. Use it to search for the string "sales message goes here" and it will display the file(s) in which that string is found ... so that you can edit them ..

I follow your post instructions but my string is not editble

29 Feb 2012, 7:11 PM
#12
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: remove and change main page logo and sales message?

minni:

You'll need to become familiar with your admin's Tools->Developers Tool Kit. Use it to search for the string "sales message goes here" and it will display the file(s) in which that string is found ... so that you can edit them ..

I follow your post instructions but my string is not editble

It isn't editable from developer's tool kit. You need to download the file using FTP, edit it on your local system using a plain text editor, and then upload the edited version to the correct overrides folder.

18 Jul 2012, 8:17 AM
#13
rarinstructors avatar

rarinstructors

New Zenner

Join Date:
Feb 2011
Posts:
7
Plugin Contributions:
0

Re: remove and change main page logo and sales message?

Hello....
Seeking any additional assistance in changing the send message....I have found the following file when I research it though the directory..

/home/content/58/6560458/html/classroom/includes/languages/english/classic/header.php

This is where the file is located...but I can not seem to find what I need to click on to research this file further and make any changes...Please direct what I need to click on to change the send message

I am currently using zencart 1.3.9h version