O'Reilly logo

MODx Web Development by Antano Solar John

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Multiple calls

It is possible to have multiple calls to WayFinder within the same document or template. This might be necessary when you want to have multiple menu systems in the same page. For instance, you might want to have a primary menu at the top and additional menus on the left or right. You can have one call to WayFinder for the menus, one for the breadcrumb trail, and so on. To do this, you will only have to place the corresponding WayFinder snippet calls at the appropriate positions in the template being used.

Example structure:

HTML <!-- WayFinder snippet call for breadcrumbs --> <a href="/" title="Home">Home</a> &raquo; [!Wayfinder? &startId=`0` &outerTpl=`BreadCrumbOuter` &rowTpl=`BreadCrumbRow` &activeParentRowTpl=`BreadCrumbActiveParentRow` ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required