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

show category image

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-11-2003, 05:23 AM
 
cipi cipi is offline
 

Member
  
Join Date: Oct 2003
Posts: 16
 

Default show category image

Hi,

I need to display the category image into the costumer's page I cannot make it work.

Any Ideas?

I tried this:

Code:
{section name=cat_num loop=$subcategories} [img]../icon.php?categoryid={$subcategories[cat_num].categoryid}&rand={$rand}[/img] {/section}

What's the "rand" for?

Thanks
Reply With Quote
  #2  
Old 12-30-2003, 04:05 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default Re: show category image

Quote:
Originally Posted by cipi
What's the "rand" for?

no idea

try:

Code:
[img]../icon.php?categoryid={$subcategories[cat_num].categoryid}[/img]
__________________
ex x-cart guru
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 01:39 AM.

   

 
X-Cart forums © 2001-2020