Module
| From: | Peter Pieczora | Date: | Tue, 10 Jun 2003 05:08:40 +0000 |
| Subject: | Module | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9688@lists.php.net to get a copy of this message | ||
Hi,
Lets say I've got my whatever.tpl file and I want to display content
$blabla = "life is great";
I can use $smarty->assign("blabla", $blabla);
great, but what if $blabla would be let's say,
$blabla = "display.php" and I wanted to use as a module?
ie.:
/modules/DB/display.php
and in my .tpl file
{module name="display.php"}
Peter