Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The sort of pages in Backend
#4
Untested:
Code:
if ($data->parent != '') {
    $parentdata = getXML($path . $data->parent .'.xml');
    $pagesArray[$count]['sort'] = $parentdata->menuOrder .' '. $data->menuOrder;
} else {
    $pagesArray[$count]['sort'] = $data->menuOrder;
}
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
The sort of pages in Backend - by geggal - 2010-09-27, 20:13:35
The sort of pages in Backend - by ccagle8 - 2010-09-27, 22:08:42
The sort of pages in Backend - by geggal - 2010-09-28, 00:27:17
The sort of pages in Backend - by Zegnåt - 2010-09-28, 01:02:15
The sort of pages in Backend - by geggal - 2010-09-28, 01:12:24



Users browsing this thread: 1 Guest(s)