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!
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!
I'm seeing HEADER_SALES_TEXT under your header image (AKA 'tagline').
https://www.zen-cart.com/tutorials/index.php?article=95
Thanks for the response. The tutorial isn't really helpful as it just says that you have to find the problem and fix it.
Do you happen to know where that tagline can be found or replaced?
thanks
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.
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!
....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
You removed a little too much, should read like this:
PHP Code:// 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');
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!
I would try deleting your template.php file and uploading a fresh copy to the 'classic' directory, and start over.