Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Removing category name from info areas

Removing category name from info areas

Locked

Views: 1,420

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
28 Nov 2006, 6:55 PM
#1
valtx avatar

valtx

New Zenner

Join Date:
Nov 2006
Location:
Dallas, TX
Posts:
11
Plugin Contributions:
0

Removing category name from info areas

Hi everyone. I'm new to Zen Cart, and am trying to customize my first site. I've searched for the answer to this one, but I'm coming up short.

When the user clicks on a category and goes to that category page, or clicks on a subcategory and goes to that page, the category or subcategory name is repeated at the top of the page. I want to delete that category or subcategory name. Can anyone direct me to the file(s) that I need to access to make that change?

I've attached a graphic that will hopefully illustrate what I'm trying to delete.

Thanks in advance for any help. This forum has been wonderful for helping me learn this whole Zen thing.

30 Nov 2006, 6:15 PM
#2
phid avatar

phid

Totally Zenned

Join Date:
Nov 2005
Location:
Narnia
Posts:
696
Plugin Contributions:
0

Re: Removing category name from info areas

Just remove the following:

<h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>

from your includes/templates/template_default/templates/tpl_index_categories.php file (or whatever custom folder you're using). Make sure to backup first.

30 Nov 2006, 7:37 PM
#3
valtx avatar

valtx

New Zenner

Join Date:
Nov 2006
Location:
Dallas, TX
Posts:
11
Plugin Contributions:
0

Re: Removing category name from info areas

Beautiful! Worked perfectly.

I was also able to use the Developer's Tool Kit to find that language in the proper file to remove it from my subcategory pages as well. I had seen that when I was digging, but was associating it with something having to do with the breadcrumb area, not the page title area. Makes perfect sense now.

Thank you! You made my day. :P

1 Dec 2006, 6:23 PM
#4
valtx avatar

valtx

New Zenner

Join Date:
Nov 2006
Location:
Dallas, TX
Posts:
11
Plugin Contributions:
0

Re: Removing category name from info areas

I've run into one more glitch...

I'd like to remove that same content area header from any and all ez pages that I create as well, but can't find the files I need to make that modification.

I've searched the developer's toolkit for BOX_HEADING_EZPAGES and that didn't resolve it.

I also commented out the "$breadcrumb->last()" in the following files:
tpl_index_categories.php
tpl_index_product_list.php
tpl_reviews_default.php
tpl_specials_default.php
But that didn't remove it from the ex pages I'm creating. I'm still missing a file that needs to be modified somewhere.

Anyone have any ideas on this one?

Thanks in advance for any assistance.