Answers.Body: <p>There is an nice <a href="http://craftcookbook.net/recipes/77">recipe on the craftcookbook.net</a> site from sprocketeer that explains exactly this.</p>
  
  <pre><code>{% set topEntry = craft.entries.depth(1).slug('information').first() %}
  &lt;ul&gt;
      {% nav subEntry in topEntry.getDescendants() %}
          &lt;li&gt;{{ subEntry.title }}
              {% ifchildren %}&lt;ul&gt;{% children %}&lt;/ul&gt;{% endifchildren %}
          &lt;/li&gt;
      {% endnav %}
  &lt;/ul&gt;﻿
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-01T14:45:44.103Z
Answers.LastActivityDate: 2014-10-01T14:45:44.103Z
Answers.UserDisplayName: Douglas McDonald
Body: <p>I have my navigation in a <code>Structure</code> like <a href="https://i.sstatic.net/uMU8Y.png" rel="nofollow noreferrer">here</a> and I want to build a sub-navigation on my Information page containing Specials, Reviews, and About, but I can't figure out how.</p>
  
  <pre><code>{% set active_item = craft.entries.section('navigation').nextSiblingOf(48).first() %}
  </code></pre>
  
  <p>doesn't give me what I need (and I really don't like handling with id's).</p>
  
Tags: <templating><sections><navigation>
Title: How to create sub-nav when using a structured navigation heirarchy?
ThreadText: # How to create sub-nav when using a structured navigation heirarchy?
  
  (Asked by: username_0 on 2014-10-01)
  
  I have my navigation in a `Structure` like [here](https://i.sstatic.net/uMU8Y.png) and I want to build a sub-navigation on my Information page containing Specials, Reviews, and About, but I can't figure out how.
  
  ```
  {% set active_item = craft.entries.section('navigation').nextSiblingOf(48).first() %}
  
  ```
  
  doesn't give me what I need (and I really don't like handling with id's).
  
  **Tags:** templating, sections, navigation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-10-01. Score: 5 | Accepted answer
  
  There is an nice [recipe on the craftcookbook.net](http://craftcookbook.net/recipes/77) site from sprocketeer that explains exactly this.
  
  ```
  {% set topEntry = craft.entries.depth(1).slug('information').first() %}
  <ul>
      {% nav subEntry in topEntry.getDescendants() %}
          <li>{{ subEntry.title }}
              {% ifchildren %}<ul>{% children %}</ul>{% endifchildren %}
          </li>
      {% endnav %}
  </ul>﻿
  
  ```
  
  
  ---
  
  