Results 1 to 3 of 3
  1. #1
    Join Date
    May 2007
    Posts
    213
    Plugin Contributions
    0

    Default 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.
    Attached Images Attached Images  

  2. #2
    Join Date
    Aug 2007
    Posts
    5
    Plugin Contributions
    0

    Default 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 Code:
    <?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 */ 
    ?>

  3. #3
    Join Date
    Apr 2007
    Posts
    86
    Plugin Contributions
    0

    Default 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:

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

 

 

Similar Threads

  1. v151 Hide one category from category side box
    By robbie269 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 Feb 2014, 03:35 PM
  2. Hide category count -- on only ONE category
    By reneep in forum Setting Up Categories, Products, Attributes
    Replies: 31
    Last Post: 28 Apr 2010, 08:13 PM
  3. Remove / Hide category link from category image on home page
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 15 Mar 2010, 11:50 PM
  4. How to remove category name from category page?
    By faithofgod in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 1 Mar 2008, 09:16 PM
  5. Hide category name\text
    By qubit in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Mar 2007, 02:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR