Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hey all,
I've been trying to find a solution for this for hours and can't seem to, though my poor command of PHP is likely the reason why such a simple feature seems so difficult to me:
I'm using the following code in my node-profile.tpl.php file (which is the CCK/nodeprofile node type for my user's profile pages) to load child nodes as teasers:
$children = nodefamily_relation_load($nid);
print '<b>Recent reviews I have written:</b>';
foreach ($children as $childnode) {
print node_view($childnode, TRUE);
}
Now, my problem is that I want the resultant list ordered by node date-created... I have no clue how to augment this code to filter the results by the created date (Ascending)
q./