Re: [SMARTY] DB Contains Smarty Tags..

From: Date: Tue, 21 Jan 2003 00:28:35 +0000
Subject: Re: [SMARTY] DB Contains Smarty Tags..
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7281@lists.php.net to get a copy of this message
I don't think it will really work that way.. or am I just not getting it.. Say the content I pull is "Hey there how's it going.. The Url is : {thisUrl}" And I pull it... I still wanna be able to assign it to another template -- Eric Coleman eric.coleman@sitemod.net sitemodCMS - http://sitemod.net "M Mohr" <messju@lammfellpuschen.de> wrote in message news:20030120182329.GB1799@pharao.lammfellpuschen.de... > On Mon, Jan 20, 2003 at 01:09:53PM -0500, Eric Coleman wrote: > > Alright, I have content coming from the database, and it has something like > > > > {thisUrl} in it, which is a custom function I have > > > > The problem im runing into now, is that smarty won't parse it since im assignin' the data right from the database to the template.. > > > > How can I get it to parse and run it's replacement son the data in the database before I assign it to somewhere else? > > handle the content from your db as a ressource. see: > http://smarty.php.net/manual/en/templates.from.elsewhere.php > > have fun > messju > > > -- > > Eric Coleman

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