Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / I don't know if this is possible but...

I don't know if this is possible but...

Locked

Views: 948

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
8 Feb 2007, 12:58 PM
#1
softget avatar

softget

New Zenner

Join Date:
Dec 2006
Posts:
18
Plugin Contributions:
0

I don't know if this is possible but...

Hey,

I would like to be able have the Categories box with images in. So you would have a your category name and then category image next to it

Is there any way of doing this?

Please help

Thanks in advance Zenners!

8 Feb 2007, 2:18 PM
#2
kobra avatar

kobra

Black Belt

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

Re: I don't know if this is possible but...

Due to the fact that Zen Cart creates these dynamically - there is not an easy way to this and maintain the ablity to add change categories in the future. If you know that these will not change and if you are then willing to maintain the code in the event a change is required - you can hard code these and add an image or make them images.

Zen-Venom Get Bitten

8 Feb 2007, 2:22 PM
#3
softget avatar

softget

New Zenner

Join Date:
Dec 2006
Posts:
18
Plugin Contributions:
0

Re: I don't know if this is possible but...

Thanks for the reply, Yep I think the catorgies will be staying the same. So I do I handcode them in. Which files e.t.c?

Thanks in advance!

8 Feb 2007, 2:48 PM
#4
kobra avatar

kobra

Black Belt

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

Re: I don't know if this is possible but...

Start by configuring Zen Cart to the point that you have them square as you want them then load your home page and view your source an look for <!--// bof: categories //-->
Copy all the links that you will need for your hand coding then using the override system and your template make a copy of the includes/templates/template_default/sideboxes/tpl_categories.php file

Now replace the contents with your code and upload to your template override folder for this file

Zen-Venom Get Bitten