Author Topic

Paul Forsyth

Thursday 29 May 2003 2:27:38 am

Comment37605

btw, do multiple section-else statements work?

I have:

{section show=$search_count|gt(1)}
{$search_count} things found.
{section-else show=eq($search_count, 1)}
1 thing found.
{section-else}
No things found.
{/section}

but when $search_count is 0 both lines within the section-else statements are used, giving me:

1 thing found. No things found.

Currently using stable branch rev 2450.