Zuncan Posted September 29, 2004 Share Posted September 29, 2004 Hi Im using the contribution "add bullet images v1.0" in my caregories box. Im not quite satisfyed with how it works thou.. And I cant find a contribution that fit my needs. I just need to modify this contribution a little to work as I want. Could someone please help me do that since Im totally lost? This is how the contribution "add bullet images v1.0" works: It shows Bullet1 for categories with no subcategoriesIt shows Bullet2 for categories with subcategories It shows Bullet3 for opened categories that have subcategories But this is how I would want it to work: It shows Bullet1 for categories with or without subcategoriesIt shows Bullet2 for subcategories It shows Bullet3 for opened categories that have subcategories Here is the code for the contribution "add bullet images v1.0": if (tep_has_category_subcategories($counter)) { if ( ($id) && (in_array($counter, $id)) ) { $categories_string .= '<img src="images/cat_arrow_down.gif" align="absmiddle"> '; } else { $categories_string .= '<img src="images/cat_arrow_right.gif" align="absmiddle"> '; } } else { $categories_string .= '<img src="images/cat_arrow_other.gif" align="absmiddle"> '; } Please help me change it to fit my needs. I will make sure it ends up as a contribution if this is possible. /Zuncan Quote So what?! Who care in a hundred years anyway? Link to comment Share on other sites More sharing options...
Zuncan Posted September 30, 2004 Author Share Posted September 30, 2004 Please help me.. Please.. Quote So what?! Who care in a hundred years anyway? Link to comment Share on other sites More sharing options...
Guest Posted October 2, 2004 Share Posted October 2, 2004 Not sure I understand what you mean, but shoulnt it work if you replace bullet1 with bullet2? Quote Link to comment Share on other sites More sharing options...
Zuncan Posted November 30, 2004 Author Share Posted November 30, 2004 Please help.. Quote So what?! Who care in a hundred years anyway? Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.