If one wants to resequence the display of Pages in date created order, the code for y'all to be looking at look at to modify is this ;-)
function get_entities
($type="",$subtype="",
$owner_guid=0,$order_by="",
$limit=10,$offset = 0,
$count = false,
$site_guid = 0,
$container_guid = null,
$timelower = 0,
$timeupper = 0)
{
global $CONFIG;
if ($subtype === false || $subtype === null || $subtype === 0)
return false;
if ($order_by == "") $order_by = "time_created desc";
. . .
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.