I am hitting a wall specifying the correct path variable for navigating across channels. I am looking to setup a previous/next navigation to browse through entries across 2 channels based on their entry date using the code below. The main issue seems to be how the path variable is specified - it doesn’t seem to be able to detect that the next or previous entry belongs to a different channel from what is shown ( in case where the next or previous entry is from another channel based on entry date.)
Not sure if this is possible or do i need a plugin for this?
<div class="previous">
{exp:channel:prev_entry channel="stories|videos" status="open"}
<a href="http://{path={segment_1}}" class="paginateprev">Previous Story</a>
{/exp:channel:prev_entry}
</div>
<div class="next">
{exp:channel:next_entry channel="stories|videos" status="open"}
<a href="http://{path={segment_1}}" class="paginatenext">Next Story</a>
{/exp:channel:next_entry}
</div>