Query for child nodes On any node in Drupal 7, I want to show a list of its child nodes.  How do I do this?  I basically want to create my own navigation system.

I'm still unfamiliar with the terms in drupal 7. I establish the hierarchy of nodes via the following steps:


go to admin dashboard menu and click on "Add content"
select the "Page" content type
fill out the fields
under "Menu settings," I select "Provide menu link"
I choose the parent node under the "Parent item' drop-down menu
save and publish
Out of the box, there is no concept of sub pages or child nodes in Drupal. What you refer to is the menu structure used for navigation. A node can have a menu items linking to it and menu items can be organized hierarchically. The system was not designed to create and define relation between nodes, but only for navigation. If you look at the API, there is no simple way to retrieve the children of a menu item.

The book module included in Drupal core can be used to create a hierarchical structure for nodes. There are other options such as the relation, references and node hierarchy modules.