Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / 2 Underscores directly below my banner...??

2 Underscores directly below my banner...??

Locked

Views: 851

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
25 May 2009, 12:53 PM
#1
hamilbone13 avatar

hamilbone13

New Zenner

Join Date:
May 2009
Posts:
7
Plugin Contributions:
0

2 Underscores directly below my banner...??

I've got two little dashes (maybe underscores from the code somewhere) directly under my banner. Can anyone point me to where I need to go to get rid of those?

site url: http://funnyboneonline.com/zencart2

Thanks!

25 May 2009, 1:05 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: 2 Underscores directly below my banner...??

I'm seeing HEADER_SALES_TEXT under your header image (AKA 'tagline').

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

25 May 2009, 2:12 PM
#3
hamilbone13 avatar

hamilbone13

New Zenner

Join Date:
May 2009
Posts:
7
Plugin Contributions:
0

Re: 2 Underscores directly below my banner...??

Thanks for the response. The tutorial isn't really helpful as it just says that you have to find the problem and fix it. :dontgetit

Do you happen to know where that tagline can be found or replaced?

thanks

25 May 2009, 3:01 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: 2 Underscores directly below my banner...??

I don't know why that tutorial doesn't mention this, but go to Admin - Tools - Developers Tool Kit and search for HEADER_SALES_TEXT and you'll see that that's defined in includes/languages/english/classic/header.php

You may have removed the single quote marks when you removed the text.

This would also be a good time to create your CUSTOM template and folders.

25 May 2009, 10:56 PM
#5
hamilbone13 avatar

hamilbone13

New Zenner

Join Date:
May 2009
Posts:
7
Plugin Contributions:
0

Re: 2 Underscores directly below my banner...??

Thanks. I've tried removing the quote and leaving the quotation marks, but with the same results. Here's the code as it stands:

<?php /** * @package languageDefines * @copyright Copyright 2003-2005 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 2848 2006-01-14 09:47:08Z wilt $ */ // 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('', ''); define('', ''); define('HEADER_LOGO_WIDTH', '150px'); define('HEADER_LOGO_HEIGHT', '50px'); define('HEADER_LOGO_IMAGE', 'banner1.jpg'); // header Search Button/Box Search Button define('HEADER_SEARCH_BUTTON','Search'); define('HEADER_SEARCH_DEFAULT_TEXT','Enter search keywords here'); ?>

Any ideas? Is this maybe somewhere else?

Thanks again!

25 May 2009, 11:30 PM
#6
hamilbone13 avatar

hamilbone13

New Zenner

Join Date:
May 2009
Posts:
7
Plugin Contributions:
0

Re: 2 Underscores directly below my banner...??

....also, my tpl_header.php code looks like this:

<!--bof-branding display--> <div id="logoWrapper"> <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> <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?> <div id="taglineWrapper"> <?php if (HEADER_SALES_TEXT != '') { ?> <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div> <?php
25 May 2009, 11:38 PM
#7
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: 2 Underscores directly below my banner...??

You removed a little too much, should read like this:

// added defines for header alt and text
  define('HEADER_ALT_TEXT', '');
  define('HEADER_SALES_TEXT', '');
  define('HEADER_LOGO_WIDTH', '150px');
  define('HEADER_LOGO_HEIGHT', '50x');
  define('HEADER_LOGO_IMAGE', 'banner1.jpg');
26 May 2009, 1:45 AM
#8
hamilbone13 avatar

hamilbone13

New Zenner

Join Date:
May 2009
Posts:
7
Plugin Contributions:
0

Re: 2 Underscores directly below my banner...??

Thanks. I pasted the code back in, unfortunately, my issue still exists. Could it possibly be an issue with the second snipet of code I added above? It's from the tpl_header.php code.

thanks!

26 May 2009, 11:56 AM
#9
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: 2 Underscores directly below my banner...??

I would try deleting your template.php file and uploading a fresh copy to the 'classic' directory, and start over.