Creating Navigation Using Structure

A flexible way to organise pages and create navigation.

Note: This blog post was written before Structure was incorporated into EE.

We think Structure is a great plugin and use it whenever we can.

When generating a menu using {exp:structure:nav} for child pages ( eg: start_from="/{segment_1}" etc ) make sure to include the status= parameter and list all statuses that the parent page may be assigned to if these could be something other than "open".

Structure will default to "open" and only list child pages where the parent status is "open" otherwise.

Also, be really careful NOT to install Structure alongside the Pages module - uninstall Pages first. Also, don't do what we did once and accidentally enable the Pages module after spending hours configuring your Structure based site - misery will ensue.