Active
Project:
Node Family
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2008 at 22:35 UTC
Updated:
2 Nov 2008 at 22:35 UTC
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./