Hi guys,
I’m working on an article page.
I want to check if the page has listed siblings.
If that is the case I wan to display a block with Next and Prev listed articles.
If not I want to hide the block at all.
I tried this but it is not working:
<?php if($page->hasNextListed()): elseif($page->hasPrevListed()): ?>
or
<?php if($page->hasListedSiblings()): ?>