View Single Post
  #13  
Old 12-19-2008, 10:46 AM
 
AMMoyer AMMoyer is offline
 

Senior Member
  
Join Date: Nov 2008
Posts: 150
 

Default Re: Data passing between template and PHP file

Here's what I added to common_templates.tpl:

Code:
{* $Id: common_templates.tpl,v 1.46.2.7 2007/03/28 12:48:59 twice Exp $ *} {if $main eq "last_admin"} {include file="main/error_last_admin.tpl"} {elseif $main eq "iesearch"} {include file="mmy.tpl"} {elseif $main eq "product_disabled"} {include file="main/error_product_disabled.tpl"} ........

And the line I currently have in my PHP file is

$smarty->assign("main", $iesearch);

My tpl file is in the skin1 folder while the php file is in the root xcart folder. Is this the issue? I really do appreciate the help

Adam
__________________
Adam
X-Cart Gold 4.4.5 - Live
X-Cart Gold 4.1.11 - Retired
X-Payments 1.0.4
CDSEO Pro
EWD Hosting
Reply With Quote