My widget zone (a webpartzone) has before/after HTML to fit it into the layout of the page. However, if editors choose not to include any web parts, then I would like to set the zone's visible field to false. Any idea how to access the current zone's child count in a macro?
Asked
Active
Viewed 156 times
1 Answers
1
You can hide web parts by checking if the web part has content or not. But I don't believe you can set the visibility of a zone based on the zone having content or not.

Brenden Kehren
- 5,919
- 16
- 27