| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Delete standard subcatagory display | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
I have ordered tabs for navigation and it's done and x-cart developement service has not deleted standard subcatagory display in xcart. I don't need it since it's in tabs all ready, I tried many things but it's not getting cleared and does not show anything after it. Here is my customer/main/subcatagories.tpl ------------------------------------------------------------------------------------- {* $Id: subcategories.tpl,v 1.32 2003/04/24 09:50:33 svowl Exp $ *} { include file="location.tpl" } {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu ne "Y"} {include file="modules/Bestsellers/bestsellers.tpl"} {/if} { include file="customer/main/navigation.tpl" } {if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description|regex_replace: "/[\n]/":" "} {/if} {capture name=dialog} {assign var="tmp" value="0"} {section name=cat_num loop=$subcategories} {if $subcategories[cat_num].category}{assign var="tmp" value="1"}{/if} {/section} {section name=cat_num loop=$subcategories} { if %cat_num.first% } {if $tmp} [img]../icon.php?categoryid={$cat}[/img] {/if} <table border=0 cellspacing=5> {/if} <tr><td align=left nowrap width=95%> <font class="ItemsList">{ $subcategories[cat_num].category_name|escape }</font> </td> <td align=right nowrap><font class=Text> {if $config.Appearance.count_products eq "Y"} {if $subcategories[cat_num].product_count} { $subcategories[cat_num].product_count } {$lng.lbl_products} {elseif $subcategories[cat_num].subcategory_count} { $subcategories[cat_num].subcategory_count } {$lng.lbl_categories|lower} {/if} {/if} </font></td> </tr> { if %cat_num.last% } </table> {/if} {/section} {if $tmp and $products ne "" } <br clear=_all><hr size=1 noshade> {/if} {include file="customer/main/products.tpl" products=$products} {if $products eq "" and $tmp eq "0"} {$lng.txt_no_products_in_cat} {/if} {/capture} {include file="dialog.tpl" title=$current_category.category_name|regex_replac e:"/.*\//":"" content=$smarty.capture.dialog extra="width=100%"} {if $products eq ""} {if $f_products ne ""} {include file="customer/main/featured.tpl"} {/if} {/if} { include file="customer/main/navigation.tpl" } {include file="customer/main/new_products.tpl"} ------------------------------------------------------------------------------------- and see if I can get a code that does not display standard x-cart subcatagories on top. Thanks |
|||||||
#2
|
|||||||
|
|||||||
![]() change to:
Code:
__________________
ex x-cart guru ![]() |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks funkydunk but how can I take of that dialog box, it's showing blank dialog box.
|
|||||||
#4
|
|||||||
|
|||||||
![]() The dialog box is marked by {capture}{/capture} remove them and it will go.
![]() not forgetting to also remove the include file=fialog bit aswell
__________________
ex x-cart guru ![]() |
|||||||
|
|||
X-Cart forums © 2001-2020
|