Download & Extend

<?php print $node->content['#children'] ?> Outputs parent node

Project:Node Relativity
Version:5.x-2.3
Component:Code
Category:support request
Priority:normal
Assigned:joeyjoey
Status:active

Issue Summary

When I use

<?php
print $node->content['#children']
?>
in the template for my parent node it lists a really nice list of child nodes, the only issue being the fields for the parent node are automatically inserted right above the list of child nodes. How can I change this, is there a function somewhere that could be modified or a setting that may need to be set.

Great module btw!

Comments

#1

+1

#2

Finally managed to get this, the Devel module reported the arrays we need to call.

<?php
print $node->content['relativity_children']['#value'];
?>

<?php
print $node->content['relativity_operations']['#value'];
?>