Psytanium Posted April 6, 2013 Posted April 6, 2013 Hello, i search the forums and tried by myself to find a solutions but with no success. what i want is really simple, to highlight ONLY the category a user is currently in, in the categories box. by default, the box highlight all path of categories. screen shot attached. i appreciate any help.
Psytanium Posted April 6, 2013 Author Posted April 6, 2013 i think this is the code to change, found in bm_categoies.php , but i didn't figured how: // display category name if (tep_has_category_subcategories($counter) && isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '<span class="category_arrow_select"></span>'; }else if (tep_has_category_subcategories($counter)){ $categories_string .= '<span class="category_arrow"></span>'; }else{ $categories_string .= '<span class="category_arrow_end"></span>'; } if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '<b style="color:#9c0000">'; } $categories_string .= $tree[$counter]['name']; if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '</b>'; } btw, osc 2.3
Psytanium Posted April 6, 2013 Author Posted April 6, 2013 at least someone tell how to get the current category so ill write: if ($tree[$counter]['path'] == $current_category) { ....
germ Posted April 7, 2013 Posted April 7, 2013 Spam it up laughing boy. When a moderator logs on you and all your spam posts are going the way of the Dodo - EXTINCT! If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
♥joli1811 Posted April 7, 2013 Posted April 7, 2013 @@Psytanium The last post was not directed to you. It was directed to a spammer whose have been posts deleted. :D Regards Joli To improve is to change; to be perfect is to change often.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.