Hi,
How to display where the current document is located in the document tree ?
Like this :
Products > Camera > Accessories
with the words linking to the corresponding node in the document hierarchy.
(Is there a special name for this type of display ?)
I wonder which snippet to use (Wayfinder, GetField ?). I assume Wayfinder. True?
Is there some existing config file to do this ?
The problem with my code (below) is that it displays all the subnodes at each level in the hierarchy and not only the current ancestors as I hope to do.
Thanks for any help.
<?php
$startId=49;
$level=3;
$outerClass = 'arborescence';
$outerTpl = '@CODE:<div[+wf.classes+]>[+wf.wrapper+]</div>';
$innerTpl = '@CODE:';
$parentRowTpl = '@CODE:<a href="[+wf.link+]" title="[+wf.title+]">[+wf.title+]</a> > [+wf.wrapper+]';
$rowTpl = '@CODE:<a href="[+wf.link+]" title="[+wf.title+]">[+wf.title+]</a>';
?>