Zen Cart Logo
Forums / Basic Configuration / How do I remove the heading from just one Sidebox?

How do I remove the heading from just one Sidebox?

Locked

Views: 1,996

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
28 Mar 2009, 5:42 AM
#1
bizshop1 avatar

bizshop1

New Zenner

Join Date:
Feb 2009
Posts:
9
Plugin Contributions:
0

How do I remove the heading from just one Sidebox?

How do I disable the heading for just one sidebox?

Leaving the others intact...
Each sidebox has its own tpl_whatever_sidebox.php and its own
whatever_sidebox_defines.php

28 Mar 2009, 5:56 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: How do I remove the heading from just one Sidebox?

bizshop1:

How do I disable the heading for just one sidebox?

Leaving the others intact...
Each sidebox has its own tpl_whatever_sidebox.php and its own
whatever_sidebox_defines.php

Biz,
admin panel/ tools/ developers tool kit

  1. search for
  2. the heading title name you want to disable
  3. catalog
  4. search
  5. you should find this in:
  6. includes/ languages/ english.php
  7. Just delete the heading name between the two single quotes, but leave the quotes
  8. EX: define('BOX_HEADING_CATEGORIES', 'Categories');
  9. Change to: define('BOX_HEADING_CATEGORIES', '');
  10. remember to use the override system
  11. save the file to: includes/ languages/ your_template/ english.php

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

28 Mar 2009, 6:06 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How do I remove the heading from just one Sidebox?

Or if you don't mind that the heading is still processed, you can completely hide it just by adding to your stylesheet

#whatever_sideboxHeading {display: none;}

28 Mar 2009, 7:18 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How do I remove the heading from just one Sidebox?

*Moderator note: Posts moved to separate discussion *

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Apr 2009, 9:40 PM
#5
dave010880 avatar

dave010880

New Zenner

Join Date:
Mar 2008
Location:
UK
Posts:
26
Plugin Contributions:
0

Re: How do I remove the heading from just one Sidebox?

I'm looking for something similar to this but struggling ...

I would like to remove the "categories" heading, not just the words but the whole heading bar.

I have managed to do this by modifying the stylesheet as follows...

#categoriesHeading {display: none;}

However I am wanting to go further and only remove the heading when on the main page? I already figured out how to remove the category list itself under main page conditions by wrapping an IF statement around the code in tpl_categories thanks to previous posts. I have tried wrapping numerous lines of code in the same IF statement wherever I find reference to the heading but so far it seems to be welded onto teh site with gum!!!! :censored:

Can anyone help me figure what I need to modify to do this, pleasssseee. :smile:

BTW for reference I'm running on V1.3.8a

Any help would be much appreciated!!

Zen Newbie: www.wickedstyling.com]. Thanks All.

5 May 2009, 4:21 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How do I remove the heading from just one Sidebox?

#indexHomeBody #categoriesHeading {display: none;}

or to hide the whole sidebox with one rule, simply

#indexHomeBody #categories {display: none;}