Normally for my page I use reverse related entries, but when you are on the “reverse related” page, I want to show the “related entry” instead.
But when I try to nest the related entry inside the reverse_related (using an {if no_reverse_related entries}) it just displays a weird code: {REL[sub_navigation]QufYPkRBREL}
{exp:channel:entries channel="static_content" limit="1" }
<!-- BEGIN SUB NAVIGATION-->
{reverse_related_entries id="sub_navigation"}
{if no_reverse_related_entries}
{related_entries id="sub_navigation"}
<div id="subNavSubLevel">» <a href="http://{title_permalink=">{title}</a></div>
{/related_entries}
{/if}
<div id="subNavSubLevel">» <a href="http://{title_permalink=">{title}</a></div>
{/reverse_related_entries}
<div id="subNavSubBottom"></div></div>
{/exp:channel:entries}