Project:Node Family
Version:5.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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:

<?php
$children
= nodefamily_relation_load($nid);
?>

<?php
            
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./