Forums / General Questions / Hide Category Name on Category Page

Hide Category Name on Category Page

Locked

Views: 3,346

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
22 Jun 2007, 3:16 AM
#1
mcanes avatar

mcanes

Zen Follower

Join Date:
May 2007
Posts:
210
Plugin Contributions:
0

Hide Category Name on Category Page

Ok, maybe I am crazy, but I feel like the category name is showing in to many places when with a category.

I have category ABC and I click the link for ABC on the left Nav to open it. Once in the Category I see ABC not only in the Breadcriumb, but in the nav to the left, as well as just below the breadcrumb centered at the top... Can I remove this one somehow, it seems like overkill.

Here is a screenshot.

30 Dec 2007, 7:24 AM
#2
designde avatar

designde

New Zenner

Join Date:
Aug 2007
Posts:
5
Plugin Contributions:
0

Re: Hide Category Name on Category Page

I know a long time has passed since you asked this question. But you can hide the categoryIcon on the product page by commenting out the "includes/template_default/templates/tpl_modules_category_icon_display.php" output so that it simply doesn't ever appear on the product page ... I agree that it's a redundant feature in most cases.

<?php
/**
 * Module Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 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: tpl_modules_category_icon_display.php 4348 2006-09-02 20:50:32Z ajeh $
 */
  require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CATEGORY_ICON_DISPLAY));

/* ?>

<div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . $category_icon_display_image . $category_icon_display_name .  '</a>'; ?></div>
<?php */ ?>

Abound Marketing, Inc.
http://www.aboundmarketing.com
"Internet Marketing Success Outside the Box."

2 Jun 2008, 12:48 AM
#3
onelove5683 avatar

onelove5683

New Zenner

Join Date:
Apr 2007
Posts:
77
Plugin Contributions:
0

Re: Hide Category Name on Category Page

The instructions above did not work for me.

But what did work was going to my_template/templates/tpl_index_product_list.php and commenting out line 17:

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