how to use one file for static sites...
| From: | Oguz Altun | Date: | Wed, 11 Apr 2001 06:05:52 +0000 |
| Subject: | how to use one file for static sites... | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-525@lists.php.net to get a copy of this message | ||
I read an article on phpbuilder.com
(http://www.phpbuilder.com/columns/kendall20001122.php3)
on how to use templates for static pages on your site. Using their method,
you can use ONLY ONE FILE for your page, but still can use templates.
I couldn't figure out how to do this by smarty. For dynamic pages smarty is
a good idea, but i don't want to use two files for every page.
Can you help on how to do this with smarty?
thx.