Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / remove category-list-box-content names

remove category-list-box-content names

Locked

Views: 2,317

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
2 Nov 2008, 3:00 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,646
Plugin Contributions:
0

Re: remove category-list-box-content names

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

Change this:

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

    $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>');
2 Nov 2008, 4:18 PM
#3
layoyo avatar

layoyo

Zen Follower

Join Date:
Oct 2008
Posts:
131
Plugin Contributions:
0

Re: remove category-list-box-content names

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

14 Apr 2010, 2:03 PM
#4
centurion111 avatar

centurion111

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

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: https://www.zencart.centuriongames.se

Regards
Jacob