Recursive hide behavior

[email protected] (Andrei Zmievski) Mon, 28 Feb 2000 12:11:47 -0600
Newsgroups php.template
Message-ID <[email protected]>
Another design question:

Let's say you have the following situation:

{{section sec1 autohide="on"}}
	Category: {{ $category }}
	{{section sec2 autohide="on"}}
		Article: {{ $article_headline }}
	{{/section sec2}}
{{/section sec1}}

If the $article_headline variable has no value, section 'sec2' will be
hidden. The question is, should section 'sec1' be hidden as well?
Intuitively, for this particular example, it seems that it should be.

However, I'm not sure how far up the section chain it should propagate.
Any ideas on this?

-Andrei

"Claiming Java is easier than C++ is like
 saying that K2 is shorter than Everest." 
 -- Larry O'Brien (editor, Software Development)