This:
<ul>
{exp:weblog:entries weblog="projects" disable="custom_fields|member_data|pagination|trackbacks" sort="asc" orderby="entry_id" dynamic="off" }
{if no_related_entries}
{if:else}
<li><a href="http://{title_permalink=" title="{title} {tagline}">{title}</a></li>
{reverse_related_entries}
<ul>
{if select_project == "James West Space Telescope"}
a
{if:else}
b
{/if}
</ul>
{/reverse_related_entries}
{/if}
{/exp:weblog:entries}
</ul>produces this navigation:
-James West Space Telescope
-b
-Herschel Space Observatory
-b
-Planck Satellite
-Scuba 2 Camera
-Near Cam
-Spire
What i want it to produce is this:
-James West Space Telescope
-Near Cam
-Herschel Space Observatory
-Spire
-Planck Satellite
-Scuba 2 Camera
Near Cam and Spire entries have a relationship field selected - choosing their parent entries.
So what i hope to do is only show entries that have no relationship as main navigation, and then show their related entries underneath the parent entry.
I know that this is easy to do with categories and parents but this way i get to produce SEF urls like: projects-applications/james_west_space_telescope/near_cam.