I should also say I’m using MODx 9.5. Although wayfind did work with the old call posted on here
You should chek the spelling of your snippet.
Perhaps is it a typo
WayFinder
wayFinder
Wayfinder
Ok. So let’s go.
SAMPLE CODE
[[WayFinder? &startId=0...
P.S: could be improved for class but I have no more time today
EDIT: tested with wayfinder Beta 3
EDIT 2: some of the chunks could be unuseful , look at the comment <!-- --> in the output code to know which chunks are not necessary
EDIT 3: demo ==> http://www.dixsix.fr/contribs/wayfinder-cssplay-flyout.php
Seems buggy after 4 levels. I’ve haven’t investigated to know which is involved (missing class - css code)

This is due to it not being able to "hover". Its not a WayFInder issue but worth noting as I just changed my site to use Flyout and I got a call saying the CEO could not longer access the menus... doh.
$useTextField = (empty($v[$this->textOfLinks])) ? 'pagetitle' : "$this->textOfLinks";
// Allow an index number as link text
if ("$this->textOfLinks" == 'index') {
$v['linktext'] = $n+1;
$v['linktext'] = '[' . $v['linktext'] . ']';
} else {
$v['linktext'] = $v[$useTextField];
}
but you’ll have to add an hereClass if you want the active class defined and working. Didn’t get to that yet...


This discussion is closed to further replies. Keep calm and carry on.