View Single Post
  #5  
Old 06-06-2003, 08:02 AM
 
cao cao is offline
 

Member
  
Join Date: May 2003
Location: Chicago IL
Posts: 8
 

Default

Hello,

Thanks for posting the code it pointed me in the right direction, but I am trying to split them into 3 or 4 columns.

I tried using the {if $smarty.section.cat_num.index is div by 3} but since the index starts with a 0 and 0 is divisible by 3 it inserts <tr></tr> after the first category, so the table looks like this

cat0
cat1 cat2 cat3
cat4 cat5 cat6
cat7 cat8 etc.

I would realy appreciate any help.

Thanks
Reply With Quote