Forums / Templates, Stylesheets, Page Layout / Category description next to image

Category description next to image

Locked

Started by kryspen on 1 Apr 2010, 4:38 PM · Views: 712

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
1 Apr 2010, 4:38 PM
#1
kryspen avatar

kryspen

New Zenner

Join Date:
Feb 2010
Location:
East Anglia
Posts:
52
Plugin Contributions:
0

Category description next to image

On my category pages, I'd like to have the category description next to the image - as it is on the product pages. How would I achieve this, please?

Dave Smith
https://www.fernslist.com

1 Apr 2010, 5:26 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Category description next to image

You would have to edit the SQL query in the module file to get the category's description as well as its name and image, then put that into a variable (array element) and output it in the tpl file.

2 Apr 2010, 8:28 AM
#3
kryspen avatar

kryspen

New Zenner

Join Date:
Feb 2010
Location:
East Anglia
Posts:
52
Plugin Contributions:
0

Re: Category description next to image

Thanks. Don't think my SQL is strong enough to manage that. I'll have to live with it as it is.

Thanks again,

Dave Smith
https://www.fernslist.com