How can I change page ID’s
I want to order my menu. But the page with ID 16 is always put at the end, but I want hem to put him in te beginnen in my websites menu. I already put the page with ID 16 on the top of the three, but it doesn’t seem to work. I also tried $sortby but that doesn’t have any effect on the order of my menu
what to do?
Well, &sortBy=`` should do it. See page 85 in
The Almost Complete Guide to Creating Menus in MODx using Wayfinder.
You can sort by menuindex, pagetitle and so on. Chech your backtics ``.
I think, thererfor I am! But what I am, and why...?
I have this:
[!Wayfinder?startId=`[[UltimateParent]]` $sortby=`random` &cssTpl=`menutpl` &outerTpl=`menudiv` &outerClass=`DivRechts` &rowTpl=`menutest’]]
but my website menu stays the same
Quote from: steve07 at Nov 20, 2009, 09:15 AM
I have this:
[!Wayfinder?startId=`[[UltimateParent]]` $sortby=`random` &cssTpl=`menutpl` &outerTpl=`menudiv` &outerClass=`DivRechts` &rowTpl=`menutest’]]
but my website menu stays the same
You have
$sortby. It should be
&sort
By.
I think, thererfor I am! But what I am, and why...?
Ok, I changed it but it still doesn’t work
[!Wayfinder?startId=`[[UltimateParent]]` &sortBy=`random` &cssTpl=`menutpl` &outerTpl=`menudiv` &outerClass=`DivRechts` &rowTpl=`menutest’]]
Also when I change my wayfinder snippet code, nothing happens
You need to use &sortBy=`menuindex` and assign menu index to each of your documents appropriately.
Yes,
5.0.51a-community so that might be the problem. There is nothing to do about it? Except downgrading/upgrading te mysql?