Structure Documentation

You can conditionally display the sub navigation and/or any surrounding HTML using the following parameters with nav_sub:

  
    {if structure:child_ids != ''}
    <div id="sweet_nav_wrapper">
    {exp:structure:nav start_from="/{segment_1}"}
    </div>
    {/if}
  
 

Additionally, you can show alternate markup or content using if:else as follows:

  
    {if structure:child_ids != ''}
    <div id="sweet_nav_wrapper">
    {exp:structure:nav start_from="/{segment_1}"}
    </div>
    {if:else}
    No children!
    {/if}
  
 

Support

Having problems setting up and/or using Structure? Support is offered from 10am to 4pm EST weekdays. Send us an email at help@eeharbor.com and we will respond as quickly as we can.