I have a structure as follows:
- Parent 1
- Child 1
- Child 2
- Child 3
- Parent 2
- Child 1
- Child 2
- Child 3
- Parent 3
- Child 1
- Child 2
- Child 3 etc...
On my Child entry pages I want to pull out the other child entries under that parent to use as navigation. I think this should be fairly straight forward but I can not find any documentation on it. So far I have the below but this pulls out all level 2 child entries and not just the entries for the specified parent.
Any help much appreciated.
{% for subnav in craft.entries.section('mySection').level(2).find() %}
<li><a href="{{ subnav.url }}">{{ subnav.title }}</a></li>
{% endfor %}