Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default remove category-list-box-content names

    How can I remove the categorylistboxcontents names that appear underneath each image?

    you can refer to my website page: http://www.amnyperfumes.com/zen-cart...index&cPath=75

    thanks a million!

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: remove category-list-box-content names

    Copy includes/modules/category_row.php to your overide at includes/modules/YOUR_TEMPLATE/

    Change this:

    Code:
        $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"',
                                               'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories->fields['categories_name'] . '</a>');

    to this:

    Code:
        $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"',
                                               'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a>');
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: remove category-list-box-content names

    HI Kim, thanks sooooo much. you just made my Sunday! =)

  4. #4
    Join Date
    Apr 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: remove category-list-box-content names

    Hi!

    Actually I would like to display images under each Category (with a SubCategory). Nor images or text display's when I load my SubCategory "II-Strategispel". Anyone with an idea???

    URL: www.zencart.centuriongames.se

    Regards
    Jacob
    Last edited by centurion111; 14 Apr 2010 at 03:06 PM.

 

 

Similar Threads

  1. Remove category names from facebook meta tags
    By hockey2112 in forum General Questions
    Replies: 4
    Last Post: 27 Feb 2012, 05:31 PM
  2. REMOVE TITLES-Category names
    By phillpal in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Apr 2009, 07:42 PM
  3. category list box content
    By layoyo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Oct 2008, 10:51 PM

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