Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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./