31{/layout:set} Creating Navigation Using Structure{/layout:set}

Creating Navigation Using Structure

A flexible way to organise pages and create navigation.

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.

Merlin engine logo

The data revolution is here.

Merlin THE API builder for developers. Test it now

Get VIP access