View Single Post
  #1  
Old 12-20-2004, 11:17 AM
 
rapsearch rapsearch is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 47
 

Default # columns layout - products and sub-categories

Hi,

I have 2 issues which i can not figure out.

In the admin, general settings/apearance you have

Display products list in multiple columns (1-3) (leave empty to use standard format):

I've set this at 3 but the only thing that chages are my 'featured products'... my main products list is still one at a row which is not how i want it. (example: http://www.rapsearch.com/store/home.php?cat=29)

I want to display more items next to each other at the sample url to reduce the amount of pages i have... how can i do this?

===============

2: My subcategories file includes:

{* ==================== Sub categories mod start *}

{section name=cat_num loop=$subcategories}
{ if %cat_num.first% }
<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
{/if}
{ if %cat_num.index% is div by 2}
<tr>
{/if}
<td align="center" valign="top">
<a href="home.php?cat={ $subcategories[cat_num].categoryid }">
[img]{$xcart_web_dir}/icon.php?categoryid={$subcategories[cat_num].categoryid}[/img]</a>


<a href="home.php?cat={ $subcategories[cat_num].categoryid }">
<font size="3">{ $subcategories[cat_num].category|escape }</font></a>
{ $subcategories[cat_num].description|escape }
{if $config.Appearance.count_products eq "Y"}
{if $subcategories[cat_num].product_count}

({ $subcategories[cat_num].product_count } Products)
{elseif $subcategories[cat_num].subcategory_count}
({ $subcategories[cat_num].subcategory_count } Subcategories)
{/if}
{/if}
</td>
{ if %cat_num.last% }
</tr>
</table>
{/if}
{/section}

{* ==================== Sub categories mod end *}

This gives a standard layout of 2 columns for the subcategories which works great but!..lol...always a but...

How can I edit this to display for example in subcategory number 50, more then 2 columns? I want to have 4 in that specific section because i got over 100 subcategoties there and now my page is really long to scroll down.
__________________
Version: 4.1.10
Server: Apache/mysql
Location: http://www.rapsearch.com/store
Reply With Quote