i used smarty in my projects when i enable caching it’s not working . because i use this structure :
index.php — display(index.tpl)
index.tpl —- {include file=$page_center}
?module=product — $smarty->assign(”page_center” , “product.tpl”) ;
ok ?
i’m in product.php so poduct.tpl must load in center of index.tpl . when i enable caching it’s still show default content not product.tpl ! when it’s disabled it’s working
what’s the problem ? how can i solve that ?! sorry about my bad english .