Yes, it does use the stock categories sidebox as its base. It is possible to use the ch_categories option to have two different sideboxes (I helped someone through that a year or two ago for a rather complex set of requirements), but your purpose might best be served with a simpler setup. Install the CSS Flyout Menu from Free Addons for your regular categories sidebox, and add $box_categories_array['image'] to the stock tpl_categories.php in three places.
/includes/templates/your_template/sideboxes/tpl_categories.php:
PHP Code:
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'];
}
PHP Code:
if ($box_categories_array[$i]['current']) {
if ($box_categories_array[$i]['has_sub_cat']) {
$content .= '<span class="category-subs-parent">' . $box_categories_array['image'] . $box_categories_array[$i]['name'] . '</span>';
} else {
$content .= '<span class="category-subs-selected">' . $box_categories_array['image'] . $box_categories_array[$i]['name'] . '</span>';
}
} else {
$content .= $box_categories_array['image'] . $box_categories_array[$i]['name'];
}
Gotta run now - we're taking my girlfriend's grandkids to Disney on Ice.
Bookmarks