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"
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
contact us 4_contact us
First WF call add &sortBy=`menuindex`
make sure you assign menu indexes correctly
Second WF call add &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