How to write a simple navigation? After endless trial and error I figured out the right syntax for a simple one level navigation. 

{% set navi = craft.entries.section('not projekteintrag' ) %} 
{% for entry in navi.order('id asc') %}
  &lt;li&gt;&lt;a href="{{ entry.url }}"&gt;{{ entry.navigationTitle }}&lt;/a&gt;&lt;/li&gt;
{% endfor %}



Is there a parameter to just trigger single pages? Right now I grabbed the singles with filtering the entries.
What is the difference between writing the upper syntax and:


-

{% for entry in craft.entries.section('not projekteintrag' ).order('id asc') %}
  &lt;li&gt;&lt;a href="{{ entry.url }}"&gt;{{ entry.navigationTitle }}&lt;/a&gt;&lt;/li&gt;
{% endfor %}
My solution is to setup a dedicated "Menu" section and use an entries field type for the links.  This allows you to pull together entries from multiple sections into a single menu.

My normal setup is to have to custom fields


relatedEntry - Entries field allowing you to select any other entry
customURL - text field for custom url input


The idea being that you could fill in either or and have a dynamic menu with links to entries or custom links.

Then on the template side you simple would do this

{% set menu = craft.entries.section('menu') %}
&lt;ul&gt; 
{% nav link in menu %}
    &lt;li&gt;

        {% if link.relatedEntry|length %}
                &lt;a href="{{ link.relatedEntry[0].url }}"&gt;{{ link.title }}&lt;/a&gt;
        {% else %}
                &lt;a href="{{ link.customURL }}"&gt;{{ link.title }}&lt;/a&gt;
        {% endif %}

        {% ifchildren %}
            &lt;ul&gt;
                {% children %}
            &lt;/ul&gt;
        {% endifchildren %}
    &lt;/li&gt; 
{% endnav %}
&lt;/ul&gt;


I hope that helps