Guest Posted January 15, 2004 Share Posted January 15, 2004 Hi, I'm new in this community, I need some help with that. I'm trying to edit the Category Menu of my store, but, I'd like to select with a background color, the main categories and the subcategories leave without the background. This is a type of selection, for show more usable the category menu for the users or navigators. Regards, Arturo. Link to comment Share on other sites More sharing options...
dyland Posted January 15, 2004 Share Posted January 15, 2004 It appears you'd need to change the fution tep_show_category in the /includes/boxes/categories.php file. From: for ($i=0; $i<$tree[$counter]['level']; $i++) { $categories_string .= " "; } To: for ($a=0; $a<$foo[$counter]['level']; $a++) { if ($a == $foo[$counter]['level']-1) { //$categories_string .= "<font color='#ff0000'><img src='/images/RedArrow.gif' border=0 alt=0></font>"; $categories_string .= "<font color='#ff0000'>" . tep_image(DIR_WS_IMAGES . "RedArrow.gif", "") . "</font>"; } else { $categories_string .= "<font color='#ff0000'> </font>"; } } Dylan Link to comment Share on other sites More sharing options...
Guest Posted January 16, 2004 Share Posted January 16, 2004 Sorry Dylan, but that don't work for me this time. I'm using the contribution Main_Categories 1.0c. Regards, Arturo. Link to comment Share on other sites More sharing options...
Guest Posted February 11, 2004 Share Posted February 11, 2004 Sorry Dylan, but that don't work for me this time.I'm using the contribution Main_Categories 1.0c. Regards, Arturo. Thanks Dylan!!! I find the problem. I looked more time the code. Thanks again. Arturo. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.