Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2007
    Posts
    16
    Plugin Contributions
    0

    Default Sales message and logo won't go away

    I have tried desperately not to post this here because I know how frustrating it is to have the same questions asked again and again.

    My header image is up at the top of the page but I cannot remove the logo and 'Sales Message'. I have gone to includes/languages/english/custom/header.php
    and made the changes according to what I have read


    <?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', '');
    define('HEADER_SALES_TEXT', '');
    define('HEADER_LOGO_WIDTH', '');
    define('HEADER_LOGO_HEIGHT', '');
    define('HEADER_LOGO_IMAGE', '');


    // header Search Button/Box Search Button
    define('HEADER_SEARCH_BUTTON','Search');
    define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here');

    ?>

    but both are still coming up. I am using the classic which I have done some basic changes to. Am I doing something wrong or is there something else I should be adjusting.

    Also how do I make a space between the Information box and the bottom footer.

    My cart is at http://www.digi-scrap.net/catalog/index.php

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Sales message and logo won't go away

    If you are using the classic template then make the changes in

    includes/languages/english/classic/header.php

  3. #3
    Join Date
    Feb 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Sales message and logo won't go away

    Thanks I have done that and it worked except now there is a little box in the corner with a red cross.

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Sales message and logo won't go away

    If you don't want or need a logo, open includes/templates/classic/common/ tpl_header.php find and comment out this line of code by adding “<!--” at the beginning, “-->” at the end and “//” between the words php and echo, as shown below.

    Code:
    <!-- <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> -->

    Save the file and upload it to your server.

  5. #5
    Join Date
    Feb 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Sales message and logo won't go away

    Under includes/templates/classic I don't have a 'common' file, only a 'css' file and an 'image' file.

    I also tried to use the Developers Tool kit and run a search for the file
    tpl_header.php and it all came up none.

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Sales message and logo won't go away

    Then make the change in

    includes/templates/template_default/common/

  7. #7
    Join Date
    Feb 2007
    Posts
    16
    Plugin Contributions
    0

    Default Re: Sales message and logo won't go away

    Thanks so much for your help Clyde. That's working perfect.

    Now the second part of my original question. How do I make a space between the Information box (which is my last box) and the bottom footer. Sorry I only know basic html so am taking this step by step.

  8. #8
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Sales message and logo won't go away

    You either commented out too much or you forgot to put in the ending comment indicator

    <!-- <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> --> don't forget this one.

 

 

Similar Threads

  1. v139h remove and change main page logo and sales message?
    By Abbis in forum Basic Configuration
    Replies: 12
    Last Post: 18 Jul 2012, 09:17 AM
  2. Express Logo Won't Go Away
    By rollerdude in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 7 May 2011, 06:35 AM
  3. move logo and sales message display
    By gsdcypher in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Feb 2008, 07:14 PM
  4. Change logo, sales message, and successfull inatall notice
    By brasto in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 22 Nov 2007, 08:40 AM
  5. How do I increase the gap between logo and Sales message ?
    By zenrajan in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Jan 2007, 02:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg