RE: [SMARTY] Template from Database ?

From: Date: Tue, 15 Apr 2003 12:50:19 +0000
Subject: RE: [SMARTY] Template from Database ?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9273@lists.php.net to get a copy of this message
Yap, create a resource plugin and the use display("db:foo.tpl"); db is the name of the resource. There's an example in the documentation. See resource plugins. -----Original Message----- From: Lars Jankowfsky [mailto:lars@jankowfsky.de] Sent: Tuesday, April 15, 2003 9:32 AM To: smarty-general@lists.php.net Subject: [SMARTY] Template from Database ? Heyho Folks, maybe that I am blind :) - but I don't see any easy way to use a template from database and not from file. Assign or Fetch both need something in the file system. Is there any way to set the template directly to smarty ? Thnx :) dodger -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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