View Single Post
  #1  
Old 05-29-2003, 11:50 AM
 
YuriC YuriC is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 66
 

Default Passing variables to the included .tpl

can someone tell me where's my error..
i'm passing a variable to the included file; I understand that if var is defined in .tpl file only, it is local - and included file should read that variable just fine...

Code:
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra="width=100%" b_image="../files/bgs/couple_bg1.jpg"}

then I have
Code:
{$b_image}
inside of dialog.tpl to see if it works... nothing gets printed
Reply With Quote