Home » Notebook » Modx Menu Builder - Wayfinder

Site Menu

Search

6 Comment(s) ⇒

Downloads

extension imagewayfinder_beta.zip
Size: 48.47 kB | 01/29/2007
Downloads: 166


Modx Menu Builder - Wayfinder

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.

This is a beta version and needs throughly tested before being added to the next release of Modx.

Please report any errors or omissions in the Modx forums here: Modx Forums

Comments

If you have trouble reading the code, click on the code itself to generate a new random code.
Security Code:
 
Required fields are marked with *.
Comment

6

Quick question Alex Tue December 04, 2007, 10:40:36

I've got menu of 3 levels. How can I get separated templates for items of each level?

Comment

5

toxndpuz toxndpuz Tue November 20, 2007, 08:36:01

<a href="http://ckkvpbzr.com">ihjzmmjj</a> foaeefvs http://lhyvtsog.com ndhwnojh cxnbotpt [URL=http://mzkoejhm.com]inngcpqx[/URL]

Comment

4

Quick question online marketing Mon November 12, 2007, 15:39:59

Hello all, just a quick question... How do I stop certain doc's from showing in the menu?

Comment

3

multiple orders? mog Fri May 04, 2007, 08:16:22

Is there a way to have all levels ordered by date (using id as shown here), but then one level or section ordered alphabetically

(see mattkennard.com ...i want all by id, ..but then the 'interviews' menu alphabetically)

..currently it is either all by alpha, or all by id.

Would i have to create multiple wayfinders, and if so how would i do that so that each one starts at a different root branch of my document tree.

thanks.

Comment

2

Sorting Wayfinder kjaebker Thu October 26, 2006, 17:39:46

There currently is not a way to sort items by date. You could use the id field, since newer posts will have a higher id if created in order. You could use the following call for that:

[ !Wayfinder? &startId=`0` &sortBy=`id` &sortOrder=`desc`! ]

To restrict it to the last 5 posts use the parameter &limit=`5`

To only show level 2 items you should just specify the startId as the folder containing the items you want.

Comment

1

sort order hal9000 Wed October 25, 2006, 05:00:32

This is a nice snipet but i am a bit new to the way modx works and wondered if you could give an eaxmple call for how you would list second level links but shown in desending date order (newest at top) for a list of most recent blog entries.
Also while i am here can it be made to restrict to say the last 5 posts?