RE: [SMARTY] Using $smarty inside $smarty

From: Date: Thu, 29 Aug 2002 01:53:40 +0000
Subject: RE: [SMARTY] Using $smarty inside $smarty
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5864@lists.php.net to get a copy of this message
It works for me. what version of smarty are you using? Can you give a short example of your include structure? Gary >-----Original Message----- >From: von Schwerdtner, Thomas (GXS, FPI) >[mailto:Thomas.vonSchwerdtner@gxs.ge.com] >Sent: Wednesday, August 28, 2002 2:28 PM >To: 'smarty-general@lists.php.net' >Subject: [SMARTY] Using $smarty inside $smarty > > >Greetings all, > > I'm not sure what I'm missing here, but I have my >main Smarty object named >$smarty, and inside one of my templates I have a {php} >block with some >external PHP included in it. In this external file, I >want to use the main >$smarty object to ->assign and ->fetch a template into >$html which will then >be sent off in an email. Using $this->assign does not >seem to do the trick >(member function of non-object errors). Is there >something I'm missing or >do I need to create a new Smarty object within the >template for calling >another template during processing? > > I hope that made sense to someone. > >TIA, >Tom > > > >-------------------------------------- > Tom von Schwerdtner <tvon@gxs.ge.com> > Webmaster, Facilities Plus Inc. > 100 Edison Park Drive > Gaithersburg, MD 20878 > 301-340-5101 >-------------------------------------- >

« previous php.smarty.general (#5864) next »