View Single Post
  #4  
Old 04-21-2010, 05:29 PM
 
Fersick Fersick is offline
 

Advanced Member
  
Join Date: Dec 2009
Posts: 62
 

Default Re: Buttons for Subcategories

{if $subcategories}
{include file="customer/main/subcategories_t.tpl"}
{/if}
{else}
<img class="subcategory-image" src="{$current_category.icon_url|amp}" alt="{$current_category.category|escape}"{if $current_category.image_x} width="{$current_category.image_x}"{/if}{if $current_category.image_y} height="{$current_category.image_y}"{/if} />
{inc assign="standoff" value=$current_category.image_x|default:0 inc=15}

found this body of code in the customer/main/categories.tpl file. Would i need to remove the
{include file="customer/main/subcategories_t.tpl"}
{/if}
{else}

section to get started?

I'm green with SMARTY but am doing a IT degree atm. And learning JAVA currently.
Some feed back on the similarities would be great. Is smarty OO?
__________________
X-cart ver 4.4.4 Gold

"Pollution, all around. Sometimes up and sometimes down but always around. Pollution, are you coming to my town? Or am I coming to yours? We're on different buses pollution
but we're both using petrol. Bombs." Rick the people's poet.
Reply With Quote