Guest Posted September 24, 2005 Posted September 24, 2005 where's the end of this function? function tep_show_category($counter) { global $tree, $categories_string, $cPath_array; for ($i=0; $i<$tree[$counter]['level']; $i++) { $categories_string .= "<span class=selected> "; } where the &nb sp &nb sp is, i put a class to change the look of nested categories... where do i put the closing span for it, so the categories BENEATH the nested categories don't gett the same class as well?
Guest Posted September 24, 2005 Posted September 24, 2005 The function ends just above the following: <!-- categories //--> The subcategories are returned by the tep_has_category_subcategories function (/includes/general.php) - you would need to recode this function to do what you wish - quite a challenge :D Matti
Recommended Posts
Archived
This topic is now archived and is closed to further replies.