Re: [SMARTY] section help
| From: | Monte Ohrt | Date: | Mon, 10 Mar 2003 16:35:40 +0000 |
| Subject: | Re: [SMARTY] section help | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8534@lists.php.net to get a copy of this message | ||
{section ...}
{sectionelse}
nothing to display!
{/section}
Monte
On Sun, 2003-03-09 at 08:59, Mattia wrote:
> I would like to show or not a block of text depending if a section is
> displayed or not. The block stays outside the section region , so the
> {sectionelse} command doesn't fit.
>
> like
>
> the search yelded these results
> 1...
> 2...
> 3...
>
> or if no results are given
>
> your search yelded no results
>
> thanks
> Mattia Cazzola
--
Monte Ohrt <monte@ispi.net>