Thanks Nicky and Thunderstrike, I will try to explain what I need.
Ok, so the main thing I need is to have the categories to appear on the side panel as bullets. I already modified the functions.php, at the moment it displays everything as bullets, but the subcategories should be a child.
for example.
<ul>
<li>Category one
<ul>
<li>Subcategory One</li>
<ul>
</li>
</ul>
And to display it on the template i use
<ul>{categories_list}</ul>
So does that make sense??? Subcategories have to be a child... as of now on what I did, I can only get everything to be listed as a regular bullet.
function get_category_html_bits($cat_id = 0, $cid = 0, $depth = 1) {
global $site_db, $html_cat_cache, $cat_cache, $site_sess;
if (!isset($html_cat_cache[$cid])) {
return "";
}
$category_list = "";
foreach ($html_cat_cache[$cid] as $key => $category_id) {
if (check_permission("auth_viewcat", $category_id)) {
if ($depth > 1) {
$category_list .= str_repeat("", $depth - 1)."\n";
}
$category_list .= "<li><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$category_id)."\">".$cat_cache[$category_id]['cat_name']."</a></li>\n";
$category_list .= get_category_html_bits($cat_id, $category_id, $depth + 1);
}
}
unset($html_cat_cache[$cid]);
return $category_list;
}
?>
So, let me know price to get this done, and when it can be completed! I appreciate the time!
Thunderstrike, you mention that I don't say a price... Well, that's for you guys to decide, I really have no idea how long it will take you to create this.
Thanks!