Forums / Templates, Stylesheets, Page Layout / Sales message and logo won't go away

Sales message and logo won't go away

Locked

Started by spunkyone on 15 Feb 2007, 6:39 AM · Views: 1,759

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
15 Feb 2007, 6:39 AM
#1
spunkyone avatar

spunkyone

New Zenner

Join Date:
Feb 2007
Posts:
16
Plugin Contributions:
0

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

15 Feb 2007, 6:56 AM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

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

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Feb 2007, 7:14 AM
#3
spunkyone avatar

spunkyone

New Zenner

Join Date:
Feb 2007
Posts:
16
Plugin Contributions:
0

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.

15 Feb 2007, 7:32 AM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

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.

<!-- <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.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Feb 2007, 7:49 AM
#5
spunkyone avatar

spunkyone

New Zenner

Join Date:
Feb 2007
Posts:
16
Plugin Contributions:
0

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.

15 Feb 2007, 8:01 AM
#6
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Sales message and logo won't go away

Then make the change in

includes/templates/template_default/common/

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Feb 2007, 8:35 AM
#7
spunkyone avatar

spunkyone

New Zenner

Join Date:
Feb 2007
Posts:
16
Plugin Contributions:
0

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.

15 Feb 2007, 9:00 AM
#8
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

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.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.