R – SharePoint: Only render a PublishingWebControl field when content is present

sharepointsharepoint-2007

I have a publishing site page layout which allows untrained staff to enter news stories into a publishing site on our intranet. The Layout contains several fields which are only required occasionally and when they lack content they leave a big hole in the page design.

Is there anyway to render these fields only when they contain content?

Thanks in advance.

Best Answer

Yes - see this blog post from Andrew Connell. It walks you through writing a custom control to do this.

Related Topic