Re: [SMARTY] include_else?????
| From: | Manfred Stienstra | Date: | Wed, 13 Nov 2002 19:04:33 +0000 |
| Subject: | Re: [SMARTY] include_else????? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6424@lists.php.net to get a copy of this message | ||
On Wednesday 13 November 2002 17:31, Alexander Pervak wrote:
> Hi all!
>
> Is there some Smarty function like foreachelse which prevents errors
> on including non-existing templates. It might be called includeelse
> or something like that.
> It's really useful function! I suprized with it absence.
The filenames of the templates are made up during the structural design of a
page, if the files aren't there, you should make them or leave them out of
the template.
Manfred