Hide empty sections with PHx
Use the following code to switch off parts of your website when no content is available. This comes in handy when those parts of your website have a background color.
[+phx:if=`[*side-content:len*]`:gt=`10`:then=` <div id="sideContentWithBgColor"> [*side-content*] </div> `:else=``+]
Do you know other ways to do this in modx?