ok...
First of all you need to edit : /customer/home_main.tpl
near the bottom you should have :
Code:
{elseif $main eq "catalog" and $current_category.category ne ""}
{include file="customer/main/welcome.tpl"}
or something like that...then change it to this, and add another elseif line( just copy and paste this over the above line:
Code:
{elseif $main eq "catalog" and $current_category.category eq ""}
{include file="customer/main/welcome.tpl"}
{elseif $main eq "catalog" and $current_category.category ne ""}
{include file="customer/main/subcategories2.tpl" f_products=$f_products}
Then create a .tpl file called subcategories2.tpl in /customer/main this should have the following in it...
Code:
{* $Id: subcategories.tpl,v 1.21.2.3 2002/11/11 14:04:39 andrew Exp $ *}
{ include file="location.tpl" }
{if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu ne "Y"}
{include file="modules/Bestsellers/bestsellers.tpl"}
{/if}
{capture name=dialog}
{if $f_products ne ""}
{include file="customer/main/products.tpl" products=$f_products}
{else}
{include file="customer/main/subcategories3.tpl"}
{/if}
{/capture}
{include file="dialog.tpl" title=$current_category.category|regex_replace:"/.*\//":"" content=$smarty.capture.dialog extra="width=100%"}
You should then create another file in /customer/main called subcategories3.tpl this should have this in it:
Code:
{* $Id: subcategories.tpl,v 1.21.2.3 2002/11/11 14:04:39 andrew Exp $ *}
{ include file="customer/main/navigation.tpl" }
{if ($page eq "")||($page eq "1")}{$current_category.description|regex_replace:"/[\n]/":"
"}
{/if}
{include file="customer/main/products.tpl"}
Finally edit the featured products template found in /customer/main called featured.tpl, this should have this in it:
Code:
{* $Id: featured.tpl,v 1.13 2002/05/20 06:55:20 lucky Exp $ *}
{capture name=dialog}
{if $f_products ne ""}
{include file="customer/main/products.tpl" products=$f_products}
{else}
{include file="customer/main/products.tpl"}
{/if}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_featured_products content=$smarty.capture.dialog extra="width=100%"}
The only thing wrong with all of this is that the page numbers/navigation ends up inside the capture box, but we actually prefer it like that. By all means
please back up all your templates before doing this as I don't want people mucking up their cart if anything goes wrong.
Hope this helps people!