Anyone else have any ideas on this one? I copied some code from the categories sidebox, and can get the prefix and suffix to appear, but not the counts. If someone could give me some direction I would greatly appreciate it. In the modules/category_row.php file, I edited the code to look like 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>' . CATEGORIES_COUNT_PREFIX . $box_categories_array[$i]['count'] . CATEGORIES_COUNT_SUFFIX);
I know I need to change the middle piece in order to generate a count, or perhaps reference the sidebox file somewhere so it can pull the data, but to be honest I just don't know what the next step is.
Thanks!
Bookmarks