Re: section title block

From: Date: Sun, 25 Feb 2001 15:22:22 +0000
Subject: Re: section title block
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-219@lists.php.net to get a copy of this message
At 01:20 PM 2/25/01 +0100, Joris Trooster wrote:
I agree with Sergey. It would be great to have something like this (see below). Easy to understand for designers, much better than all the if statements. {section...} {sectionheader}
        //section header data goes here
{sectionrows}
        //section row goes here
{sectionfooter}
        //section footer data goes here
{sectionelse} {/section}
And what happens if you put something between {section..} and {sectionheader}? I cannot promise this will get implemented because it would be very tough to do due to the way parsing is done. -Andrei

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