Hello,I have a custom page type that has a @pages@ field to allow authors to select from a folder of widgets. They can select one or more of these widgets, but they can also just leave it empty. If there are no widgets, I need to conditionally hide the entire sidebar.The issue isn't getting the widgets to show on the screen, it's hiding the sidebar when there are no widgets selected. I've tried what feels like a million different snippets but nothing seems to work.Anyone know how I can say something like @if this page field is empty@? Note: this needs to be done in a ASCX page template.
↧