2014-02-20, 02:56:43
actually you can probably just do
Then subval sort it by menuOrder
works for me
PHP Code:
$children = getChildrenMulti($page,array('template','menuOrder'));
Then subval sort it by menuOrder
PHP Code:
$page = get_page_slug(false);
_debugLog($page);
$children = getChildrenMulti($page,array('title','template','menuOrder'));
_debugLog($children);
$childrenSorted = subval_sort($children,'menuOrder');
_debugLog($childrenSorted);
works for me