![]() |
Subcategories in multiple rows vs single column
How do I change the dynamic listing of subcategories from a single column to multiple columns or across the page in rows?
http://www.yankeeroo.com/shop/home.php?cat=375 has close to 50 subcategories. The shopping system displays this in a single column on the left side of the page. I would like to change this to 4 or 5 columns of subcategories eg: XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX etc How do I achieve this? Thanks in advance Anthony |
Re: Subcategories in multiple rows vs single column
|
Re: Subcategories in multiple rows vs single column
Thanks buddy, that works
Found it in message #238 Anthony |
Re: Subcategories in multiple rows vs single column
<table cellspacing="5" width="100%" border="0"> <tr> {foreach from=$subcategories item=subcat} {if $tmp is div by 3} </tr> <tr><td colspan="3"></td></tr> <tr valign="top"> {/if} { if $tmp and $first_subcat ne "Y" } {assign var="tmp" value=0} {assign var="first_subcat" value="Y"} {/if} <td class="ColumnTitles" valign="top"><a title="{$subcat.description}" <a href="home.php?cat={ $subcat.categoryid }"><img src="{if $subcat.icon_url}{$subcat.icon_url}{else}{$xcart_w eb_dir}/default_image.gif{/if}" alt="" /><br> <font class="ItemsList">{ $subcat.category|escape }</font></a> {if $config.Appearance.count_products eq "Y"} {if $subcat.product_count}({ $subcat.product_count }) {elseif $subcat.subcategory_count}({ $subcat.subcategory_count }) {else} (0) {/if} {/if} {assign var="tmp" value=$tmp+1} {/foreach} </tr> </td> </table> how do i remove the icon ? only columns with name |
All times are GMT -8. The time now is 04:07 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.