I made a change to tpl_document_categories.php so that the links are list item inside a "<ul>" tag.
No matter where I put this file, it doesn't seem to have an effect.
My last trial, I renamed the one that was in the
includes/templates/template_default/sideboxes
to tpl_document_categories_save and then saved my new one there;
but no luck.
the whole thing looks like this; my mods in red:
$content = "";
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
/* ============================================== */
/* changed the categoriesContent into a UL construct */
/* ============================================== */
$content.='<ul id="' . str_replace('_', '-', $box_id . 'NavList') . '>';
for ($i=0;$i<sizeof($box_categories_array);$i++) {
/*
if ($box_categories_array[$i]['has_sub_cat'] or $box_categories_array[$i]['parent'] == 'true') {
$new_style = 'category-parent';
} else {
$new_style = 'category-child';
}
*/
switch(true) {
case ($box_categories_array[$i]['top'] == 'true'):
$new_style = 'category-top';
break;
case ($box_categories_array[$i]['has_sub_cat']):
$new_style = 'category-subs';
break;
default:
$new_style = 'category-products';
}
$content .= '<li><a class="' . $new_style . '" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">';
if ($box_categories_array[$i]['current']) {
if ($box_categories_array[$i]['has_sub_cat']) {
$content .= '<span class="category-subs-parent">' . $box_categories_array[$i]['name'] . '</span>';
} else {
$content .= '<span class="category-subs-selected">' . $box_categories_array[$i]['name'] . '</span>';
}
} else {
$content .= $box_categories_array[$i]['name'];
}
if ($box_categories_array[$i]['has_sub_cat']) {
$content .= CATEGORIES_SEPARATOR;
}
$content .= '</a>';
if (SHOW_COUNTS == 'true') {
if ((CATEGORIES_COUNT_ZERO == '1' and $box_categories_array[$i]['count'] == 0) or $box_categories_array[$i]['count'] >= 1) {
$content .= CATEGORIES_COUNT_PREFIX . $box_categories_array[$i]['count'] . CATEGORIES_COUNT_SUFFIX;
}
}
$content .= '</li>';
}
$content .= '</ul></div>';
?>



