Navigation
Getting ready
You will need the Wayfinder Package for this task.
How to do it...
1. Install the Wayfinder Package in the Package Manager.
2. Create a tpl file to generate the desired markup. Use the Wayfinder placeholders in your template. Full list of the placeholders in the Appendix and online http://bit.ly/cFLYO2
3. Call the snippet using the required parameters. A list of the parameters in the appendix and on this link http://bit.ly/a3uFTz
How it works...
Install Wayfinder in the Package Manager. Alternatively you can download the package file and place it into the core/packages folder. Choose to Search Locally for Packages when adding this package. Specify the starting point for the menu by passing the startId parameter. Example code to generate a menu that starts counting at document id 12:
There's more...
Shawn Wilkerson has a couple examples of some Wayfinder tips. This will pull a category as a clickable link and include a count.
<!— snippet à
<!—placeholder à
<h3></h3><span class="docCounts fltRight">( entries)</span>
<strong><a href="" title="MODx Revolution " ></a> </strong>
See also
Obtaining lists of pages can also be done with the getResources snippet.