View Single Post
  #4  
Old 07-26-2004, 07:37 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

save your images in skin1/navpics/ folder and name them so that the file name is that same as the category id with the gif extension.

for example your storage category image should be saved as 103.gif

Code:
<table cellpadding="5" cellspacing="0"><tr> {section name=cat_num loop=$categories} <td> <a href="home.php?cat={$categories[cat_num].categoryid}" > <img src ="{$ImagesDir}/navpics/{$categories[cat_num].categoryid}.gif"> </a> </td> {/section} </tr> </table>

you should be able to see what is going on from the code ive supplied now.

theres a setting in general settings about showing subcategories in the categories menu
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote