Zen Cart Logo
Forums / General Questions / Need to get rid of few things.....

Need to get rid of few things.....

Locked

Views: 2,437

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
6 Aug 2007, 5:05 PM
#1
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Need to get rid of few things.....

I want to get rid of the square box on the left and this HEADER_SALES_TEXT. I want to get rid of that and I also want to get rid of the category links under the Header it takes to much space.

6 Aug 2007, 8:51 PM
#2
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Need to get rid of few things.....

You can turn off the category tabs in Admin/Configuration/Layout Settings,
Categories-Tabs Menu ON/OFF, set to 0.

This tutorial should help with the tagline:

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

"Replace the tagline text with your own text (or none), making sure that the single quote marks are not left out."

7 Aug 2007, 12:28 AM
#3
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Need to get rid of few things.....

Ok I have done that but I am still getting the information on my header

7 Aug 2007, 12:57 AM
#4
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: Need to get rid of few things.....

Perhaps you might share a URL so we can see what you're referring to ?

7 Aug 2007, 12:58 AM
#5
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Need to get rid of few things.....

my website is http://www.mtechama.com and its in the header

7 Aug 2007, 1:00 AM
#6
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: Need to get rid of few things.....

TShooters:

This tutorial should help with the tagline:

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

"Replace the tagline text with your own text (or none), making sure that the single quote marks are not left out."> mtechama:

Ok I have done that but I am still getting the information on my header

You weren't supposed to delete the entire line... you were only supposed to replace the text you didn't want ... with nothing.

ie:

define('HEADER_SALES_TEXT', 'Sales Message Goes Here');

becomes

define('HEADER_SALES_TEXT', '');

Same with the other lines you've deleted while you've been customizing...

7 Aug 2007, 1:09 AM
#7
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Need to get rid of few things.....

I can't get rid of the Logo box

7 Aug 2007, 2:18 AM
#8
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Need to get rid of few things.....

can anyone help me?

7 Aug 2007, 2:24 AM
#9
chuck avatar

chuck

Totally Zenned

Join Date:
Jul 2005
Posts:
255
Plugin Contributions:
0

Re: Need to get rid of few things.....

mtechama:

I can't get rid of the Logo box

tpl_header.php contains this code which draws the logo and the tagline etc:```

<!--bof-branding display--> <div id="logoWrapper"> [B]<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>[/B]<?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 } ?> <?php if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div> <?php } } ?> </div> <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?> </div> <br class="clearBoth" /> <!--eof-branding display--> ```You have a few options: 1. Use your stylesheet and add a line to the bottom of it saying **#logo {display:none;}** or 2. Remove the line that starts with **<div id="logo">...** and/or 3. Make any other changes that you believe are appropriate for your site.

Be sure to save all of your changes in the appropriate override folder.

7 Aug 2007, 2:31 AM
#10
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Need to get rid of few things.....

chuck:

tpl_header.php contains this code which draws the logo and the tagline etc:```

<!--bof-branding display--> <div id="logoWrapper"> [B]<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>[/B]<?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 } ?> <?php if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div> <?php } } ?> </div> <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?> </div> <br class="clearBoth" /> <!--eof-branding display--> ```You have a few options: > 1. Use your stylesheet and add a line to the bottom of it saying **#logo {display:none;}** > or > 2. Remove the line that starts with **<div id="logo">...** > and/or > 3. Make any other changes that you believe are appropriate for your site. > > Be sure to save all of your changes in the appropriate override folder.

I am unable to find that file anywhere

7 Aug 2007, 2:38 AM
#11
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Need to get rid of few things.....

Nevermind I got it