Posts: 7
Threads: 2
Joined: Oct 2011
Hello,
should the sorting in the admin be sorted by the "menu" order?
Code:
pages.php => 84
$pagesSorted = subval_sort($pagesArray,'menuOrder');
instead of "sort"? Sort = Titlename.
Greetings!
Posts: 26
Threads: 2
Joined: Oct 2012
2012-10-29, 21:14:13
(This post was last modified: 2012-10-29, 21:42:37 by setoteea.)
I'm doing that as well
One minor problem is that new pages not in the menu appear on top.
(saving them with a menu order of 30 and then removing them again from the menu seems to put them on the bottom?)
<º)))><
Posts: 7
Threads: 2
Joined: Oct 2011
I don't even know where the value "sort" comes from?
It is a mixture of menu-title and something else.
Posts: 687
Threads: 63
Joined: Nov 2011
I think it would be a good idea to let the user toggle between the sorting of:
-alphabetical
-menu
-newest to oldest
Posts: 3,491
Threads: 106
Joined: Mar 2010
(2012-10-29, 22:40:57)pow Wrote: I don't even know where the value "sort" comes from?
It is a mixture of menu-title and something else.
It's "Parent title + Page title", see admin/pages.php line 75:
Code:
$sort = $parentTitle .' '. $page['title'];
so that the (backend) list is sorted by top pages, then subpages, etc. (tree-style)
Menu order is used by the frontend function get_navigation.