Forums / Templates, Stylesheets, Page Layout / Changing Category text to Images?

Changing Category text to Images?

Locked

Started by wewuvanimals_com on 26 Oct 2007, 3:06 AM · Views: 1,349

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Oct 2007, 3:06 AM
#1
wewuvanimals_com avatar

wewuvanimals_com

New Zenner

Join Date:
Oct 2007
Posts:
19
Plugin Contributions:
0

Changing Category text to Images?

Okay, I hope this isn't too difficult since I have subcategories but here is what I would like to accomplish:

If you look at the Category Sidebox to the right, you just see normal text. Well, what if I make small rectangular images with the category names on it? Will I be able to use those images instead? (To make it more fancy)...

Okay, so, say I have those small rectangular images, how can I erase the category texts and add the images so it is menu images and not menu text?

Do you get what I'm saying? lol

THANKS!!!

26 Oct 2007, 7:38 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing Category text to Images?

Because of the dynamic nature of Zen Cart(and most other php carts) this is not a simple issue - what if you decide to add another cat later - you have to break the code to not show text and hard code each the cats to be specific images

Therefore, you then can not manage this from the admin from thereon

Zen-Venom Get Bitten

26 Oct 2007, 8:00 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Changing Category text to Images?

Categories Dressing (which wewuvanimals.com is trying to use) automatically checks for an image filename based on the category id, and uses it if present or uses the standard text if the file is not present.
No ongoing code management needed, only adding an image file if desired for new cats.

27 Oct 2007, 2:13 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing Category text to Images?

Thanks Glenn I am going to have to devote some time in evaluating some of the Modules that I have not up to this time.

Zen-Venom Get Bitten