We Provide progressive business solutions

Researchg

Web Content Management Systems
A universal interface to connect to and manage any content management system.

solutions

Consolidating Control Panel Interfaces
Designing one interface to connect through the APIs of disparate content management systems

Results

Extending Core Applications
Every CMS has it's own way of doing things. A place to organize the different ways to do things in different types of content management systems.

Navigation

Login

Getting ready

The Wayfinder package comes included in the Evolution bundle.

How to do it...

1. Call the Wayfinder snippet in a Resource. Indicate the starting document by passing this value as an argument. In the example below the snippet will start at the document with an ID value of 9. This snippet can also be called from a Chunk, Template, or TV.

How it works...

With MODx Evolution, linking to Resources can be done by explicitly indicating the id value, such as [~55~]. The Wayfinder snippet generates a navigation menu based upon the Resources you have and how they are nested. We can customize the menu even further by passing additional arguments.

[!Wayfinder? &startId=`9`!]


There's more...

With this snippet we can generate any kind of menu we need in any Resource or Element. Include this one line of code to generated a list menu. Use the Revolution API to assign attributes to the generated elements. Specify the template you will be using in your Wayfinder call.

[!Wayfinder? &outerTpl=`wayfinderTplOuter'!]

Then create the Chunk with the title .

<ul id="main_navigation"[+wf.classes+]>

[+wf.wrapper+]

</ul>

To exclude specific Resources from my Wayfinder call I can pass the parameter using the required code.

[!Wayfinder? &startId=`9` &outerTpl=`tplWayfinderOuter` &excludeDocs=`7`!]