Wayfinder 1.0
Wayfinder is a highly flexible navigation builder.
Submitted: Oct 23rd 2006 | License: GPL - GNU Public | Downloads: 1270
This resource has been deprecated.
Description
Totally refactored from original DropMenu nav builder to make it easier to create custom navigation by using chunks as output templates. By using templates, many of the paramaters are no longer needed for flexible output including tables, unordered- or ordered-lists (ULs or OLs), definition lists (DLs) or in any other format you desire.
To view some example menus created with Wayfinder go here: http://www.muddydogpaws.com/notebook/wayfinder-10.html
Instructions
Copy the contents of the file snippet.wayfinder.tpl.php into a new snippet named Wayfinder.
Create a new folder under assets/snippets named wayfinder.
Copy the file wayfinder.inc.php into the newly created folder.
To get the default menu output use the following snippet call: [[Wayfinder? &startId=`0`]]
For documentation on all of the paramters refer to the file wayfinder.documentation.html
Updates
- Updated database query so sorting works correctly for MySql 4.1.12 users
- Added parameters for determining sortBy and sortOrder
- Added placeholders for introtext and description
- Added ability to show count of docs in a folder with new placeholder
- Removed some code from snippet into class for easier maintenance
- Added limit parameter to allow for result limiting
- Added random option to sortBy parameter