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') %}
<li><a href="{{ entry.url }}">{{ entry.navigationTitle }}</a></li>
{% 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') %}
<li><a href="{{ entry.url }}">{{ entry.navigationTitle }}</a></li>
{% endfor %}