Hi Matt,
Please don’t double post, thx.
So, the Home page menu looks like:
home | about | contact us | programs
And you want the interior pages one look like:
home | programs | about | contact us
is that correct? I don’t think it is possible unless you use some "trickery"
The
&sortBy parameter allows you to sort using any of the following...
[ id | menutitle | pagetitle | introtext | menuindex | published | hidemenu | parent | isfolder | description | alias | longtitle | type | template | random ]
So, for the home page menu, you can probably sort by
menuindex.
Then for the interior pages, you can sort by another field. Some form of alphabetical sorting will not work for you because the output you want for this menu is not alphabetical. So, you are left with either (i) using the "id" as the sort criteria - but you probably don’t have control over the ids assigned to the docs by MODx. So, and here comes the trickery, you could use the description document field to do your sorting. But, you would have to make sure these are in the order you want. So, maybe, in the description fields for the respective docs:
Page Title Description (field)
home 1_home
programs 2_programs
about 3_about
contact us 4_contact us
First WF call add
&sortBy=`menuindex` make sure you assign menu indexes correctly
Second WF call ad
d &sortBy=`description`
Now, this is not elegant but I can’t think of any other way to achieve what you want...or maybe am just tired and cannot think straight
cheers/k