Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Catagory block add image

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-16-2008, 12:39 PM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Catagory block add image

Hi there I have installed this excellent software and wanted to know how I can do this.

See screenshot attached. I would like to have an image on every catagory.



Thanks uin advance.
Attached Thumbnails
Click image for larger version

Name:	menu.JPG
Views:	231
Size:	48.0 KB
ID:	1114  
__________________
X Cart Version 4.1.11
Reply With Quote
  #2  
Old 09-16-2008, 03:07 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Catagory block add image

Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:

http://forum.x-cart.com/showthread.php?t=23970

Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your questions correctly. Thanks!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-16-2008, 11:08 PM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Catagory block add image

I have updated my signature with the xcart version
__________________
X Cart Version 4.1.11
Reply With Quote
  #4  
Old 09-17-2008, 02:37 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Catagory block add image

You'll want to remove your license as well, that is not public info
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 09-17-2008, 07:51 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Catagory block add image

I have removed it. Can someone answer my question please
__________________
X Cart Version 4.1.11
Reply With Quote
  #6  
Old 09-17-2008, 08:06 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Catagory block add image

This one is tricky as the categories are pulled from the db - so you can't hard-code the images in there unless you hard-code the category links as well. One way you could do it is use Smarty for the image name - meaning the system would automatically look for an image named the same as the category....
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 09-17-2008, 09:30 AM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default Re: Catagory block add image

He could hard code it (not recommended) if the categories he comes up with never change. Recommend using the main image for each category as the image using smarty and also remember to include an image for each category. This would require a custom mod, but doable.
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
Reply With Quote
  #8  
Old 09-27-2008, 11:48 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Catagory block add image

Whats smarty all about?
__________________
X Cart Version 4.1.11
Reply With Quote
  #9  
Old 09-27-2008, 11:51 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Catagory block add image

It is a template engine: http://www.smarty.net/
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:27 PM.

   

 
X-Cart forums © 2001-2020