Download & Extend

Get the node id's of a nodes children

Project:Node Relativity
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

Is it possible to write some php to list node id's of the children of a node? The I can use node_load to display any values or the child on the parent.

Comments

#1

Version:5.x-2.3» 6.x-1.x-dev
Component:Miscellaneous» Code
Category:support request» feature request
Status:active» needs review

I need something like this as well, but for D6. I took the liberty to modify this issue, because otherwise I would create a duplicate.

I created a patch to add an API function to relativity which returns a list of child nodes, given a parent node id. I named the function "relativity_list_children". I created a patch both for 6.x-1.x-dev and for HEAD. The patch also uses the new function in two places where it is applicable.

Could this please be reviewed, and hopefully committed + released (1.3)?

AttachmentSize
Patch for 6.x-1.x-dev 2.33 KB
Patch for HEAD 2.31 KB

#2

i will help to test

nobody click here