View Single Post
  #4  
Old 02-20-2007, 02:18 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: Generating .tpl file to .php file

well you dont generate tpl files to a php file

in the php file you tell it to display the tpl file

if you took a look at your home.php file you will see 2 lines that look like:
Code:
$smarty->assign("location", $location); func_display("customer/home.tpl",$smarty);
the first line assigns the location
while the second assigns the tpl to be displayed (I believe you can only display one main tpl, so the header and what not will have to be "included" in the main tpl)
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote