Results 1 to 3 of 3
  1. #1
    Join Date
    May 2007
    Posts
    214
    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. text from main page showing up on category description
    By signs in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 27 Nov 2008, 09:42 PM
  2. Category page or Product page help???
    By LilleyPadGifts in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 31 Mar 2007, 03:03 PM
  3. category page disappearing... sometimes
    By webdex in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Mar 2007, 08:02 AM
  4. Replies: 2
    Last Post: 31 Oct 2006, 08:29 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
  •