Forums / Templates, Stylesheets, Page Layout / Category Side bar customiziation

Category Side bar customiziation

Locked

Views: 877

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
23 Feb 2008, 7:35 PM
#1
hopdrug avatar

hopdrug

New Zenner

Join Date:
Feb 2008
Posts:
1
Plugin Contributions:
0

Category Side bar customiziation

Hey, i did a search and found ways to change the colors of cats/sub-cats, but i was wondering if there was a way represent categories/subs with graphical buttons, similar to a side index of many site's main pages. The way our categories are now its really hard to read and some get cut off do to character quantity restriction. Thanks alot!

23 Feb 2008, 7:40 PM
#3
kobra avatar

kobra

Black Belt

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

Re: Category Side bar customiziation

but i was wondering if there was a way represent categories/subs with graphical buttons
Yes, but only bt hardcoding and thid takes away from the versatility of the dynamic structure of Zen Cart as any additions deletions/changes to the category tree will require a manual edit to this file

What gjh42 referred you to will not assist with your long cat names

Zen-Venom Get Bitten

24 Feb 2008, 12:08 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Category Side bar customiziation

The actual restriction on the length of category names happens in the database. The category name field is defined as something like varchar(32). You can change this, but back up the database first, and don't try it unless you have some familiarity with database modification.
See A Categories / Products can only be 31 letters? for more info, especially posts 9, 13 and possibly 20.

Categories Dressing does not require hardcoding except that it needs an image created for each category you want represented by an image.

24 Feb 2008, 3:39 AM
#5
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Re: Category Side bar customiziation

:clap:Thanks, I've been looking for this answer like FOREVER....

gjh42:

The actual restriction on the length of category names happens in the database. The category name field is defined as something like varchar(32). You can change this, but back up the database first, and don't try it unless you have some familiarity with database modification.
See A Categories / Products can only be 31 letters? for more info, especially posts 9, 13 and possibly 20.

Categories Dressing does not require hardcoding except that it needs an image created for each category you want represented by an image.

Zencart Websites I've Designed:
deejaycentipede(DOT)com
djellery216(DOT)com