Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding text next to logo

Adding text next to logo

Views: 1,104

Results 1 to 9 of 9
4 Mar 2011, 2:41 AM
#1
mikem198 avatar

mikem198

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Adding text next to logo

How do I add text next to the logo on the header. I dont know how to find the file to change

4 Mar 2011, 3:48 AM
#2
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Adding text next to logo

link to site please.

in the default download of ZC it would say something like Sales message Goes here & you could replace that with your text just right of logo

4 Mar 2011, 4:27 AM
#4
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Adding text next to logo

ok, lets start by seeing if this exists:

locate file:
/includes/languages/english/CUSTOM_TEMPLATE/header.php

if it exists
find inside:

define('HEADER_SALES_TEXT', '');

change to this:

define('HEADER_SALES_TEXT', 'MY NEW TEXT');

and we go from there.

4 Mar 2011, 4:50 PM
#5
mikem198 avatar

mikem198

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Re: Adding text next to logo

Okay I changed the name there but it still does not show up on the header

4 Mar 2011, 8:39 PM
#6
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Adding text next to logo

ok, lets see if it is be called:

open:
/includes/templates/CUSTOM_TEMPLATE/common/tpl_header.php

see if something that looks like this:

<?php if (HEADER_SALES_TEXT != '') { ?> <!-- <div id="taglineWrapper"><?php// echo HEADER_SALES_TEXT ;?></div> --> <?php } ?>
4 Mar 2011, 9:59 PM
#7
mikem198 avatar

mikem198

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Re: Adding text next to logo

Ok I found that, do I change the sales text to my company name

4 Mar 2011, 10:13 PM
#8
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Adding text next to logo

You would add your name to the:
/includes/languages/english/CUSTOM_TEMPLATE/header.php

Where I had you add:

define('HEADER_SALES_TEXT', '[B]MY NEW TEXT[/B]');

if you have the code in both places, I am trying to figure out why it is not displaying on your site.

the code from #6 should call code from #4

4 Mar 2011, 10:55 PM
#9
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Adding text next to logo

in ADMIN > TOOLS > DEVELOPERS TOOL KIT

at the bottom you will see:
Look-up in all files
Key or Name:

type HEADER_SALES_TEXT

and do a search on catalogs php files. what files does it return?