Thread: Smarty help
View Single Post
  #4  
Old 02-19-2009, 09:57 PM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default Re: Smarty help

Try this:
{include file="customer/fts_featured_products.tpl" group="`$current_category.category`"|replace:' ':'_'}

or else
assign the value to the variable and then use it in the include
like this:

{assign var="catname" value="`$current_category.category`"|replace:' ':'_'}
{include file="customer/fts_featured_products.tpl" group="`$catname`"}
Reply With Quote