Guest Posted April 12, 2004 Posted April 12, 2004 Hello, Are there any tutorials out there for making the catgory box on the left use linked images instead of just text links? How about a Cart image, with the number of and total price of products, like in the old featured store? Thanks for any tips or advice!! :D Rusyn
katie81 Posted April 12, 2004 Posted April 12, 2004 just find the appropriate links in the code and whack in an img src tag
Guest Posted April 13, 2004 Posted April 13, 2004 But since the categories are populated by PHP (you can add and subtract them from the admin) I don't think there is any hard code (if there is PLEASE point it out to me!) ... won't I have to put them in a database? Or identify them somehow in the categories.php file? For example (and I am a PHP noob so...), maybe putting something in here (line 34): // display category name $categories_string .= $tree[$counter]['name']; if (isset($cPath_array) && in_array($counter, $cPath_array)) { $categories_string .= '</b>'; } if (tep_has_category_subcategories($counter)) { $categories_string .= ''; } $categories_string .= '</a>'; Something that would give the images a $variable, identifying their location, something like /cat_images/['name'].gif or something? That way osC knows what image to put with what category... I hope someone understands what I am trying to say here.... :(
Recommended Posts
Archived
This topic is now archived and is closed to further replies.