Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / HEADER_SALES_TEXT in header

HEADER_SALES_TEXT in header

Locked

Views: 1,317

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
17 Feb 2010, 9:19 PM
#1
paperboy avatar

paperboy

New Zenner

Join Date:
Feb 2010
Location:
Michigan
Posts:
2
Plugin Contributions:
0

HEADER_SALES_TEXT in header

I've been reading until my eyes are blurred, the only thing I have not figured out is why I have this text in my header, I probably deleted a peice of code but can't figure out from which file.

http://paperboysarchive.com/

I would appreciate any suggestions

thanks

17 Feb 2010, 9:36 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: HEADER_SALES_TEXT in header

You've incorrectly edited includes/languages/english/YOUR_TEMPATE/header.php (where YOUR_TEMPLATE is the name of your custom template).

The default value is

define('HEADER_SALES_TEXT', 'TagLine Here'); 

Either replace TagLine Here with your own text or remove it by removing the text and leaving the single quotes

define('HEADER_SALES_TEXT', ''); 
18 Feb 2010, 12:39 AM
#3
paperboy avatar

paperboy

New Zenner

Join Date:
Feb 2010
Location:
Michigan
Posts:
2
Plugin Contributions:
0

Re: HEADER_SALES_TEXT in header

THANK YOU THANK YOU THANK YOU!!!:clap:

25 May 2010, 12:50 AM
#4
mzma01 avatar

mzma01

New Zenner

Join Date:
Mar 2010
Posts:
33
Plugin Contributions:
0

Re: HEADER_SALES_TEXT in header

Hi there! I also have a problem with "Header_Sales_Text", I already remove but why it still appear.

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
define('HEADER_SALES_TEXT', '');
define('HEADER_LOGO_WIDTH', '200');
define('HEADER_LOGO_HEIGHT', '112');
define('HEADER_LOGO_IMAGE', 'logo.gif');

Can anybody help me please....TQ:(

2 Jun 2010, 10:43 AM
#5
lost_again avatar

lost_again

New Zenner

Join Date:
May 2010
Posts:
4
Plugin Contributions:
0

Re: HEADER_SALES_TEXT in header

Hi,
my first post...

I had an almost similar problem but with HEADER_ALT_TEXT showing in the header after I deleted "logo.gif".

To remove HEADER_ALT_TEXT look in \includes\templates\YOUR_TEMPLATE\common\tpl_header.php and delete this line:

<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>

Try also in \includes\templates\template_default\common\tpl_header.php -> line 71

For HEADER_ALT_TEXT try looking for them in those files, see if deleting the entire "/div" works. Hope this helps.