I am trying to build a parent page that simply lists the contents of the child nodes that lie below it.
There is a lot written on this topic about using the VIEWS module, but most of the help for that is for Ver5, and I got in over my head trying to do something that should be simple, but is eluding me.
I found the Node Hierarchy module, which seems to be built for what I need, but there is no documentation for it.
I can create children pages easily enough, and IF I AM LOGGED IN, I can see the children listed on the parent page...but how do I put a grid/list of the child data titles into the parent page that everyone can see? All my users are anonymous, and even if I enable all the access rights for the node hierarchy module for anonymous, they still never see the child listing.
sample of what I am doing is here...off of the RECIPES menu item. http://www.omanhene.com
I have a flyout menu showing the individual child recipes of the RECIPE main menu item, but the parent page itself is empty.
Any instructions/directions would be greatly appreciated.
Comments
Using Views...
Hi,
I had a similar problem related and solved here : http://drupal.org/node/267809
Regards
thanks...I think :)
I went through that thread you shared...thank you for the quick answer....but I am drowning...that post was too far over my head to understand.
I am not a coder....there has GOT to be an easy way to make a list of child records dynamically appear in a block on a parent page. It seem to me to be such a fundamental capability of a CMS, no?
I believe, from reading some of the Views Module discussions that date back 2 years, that I understand why this is difficult for Drupal, but if someone can come up with all the things the Views module can do (what an awesome and powerful module!)...I am jsut bewildered why there isn't a pre-canned idiot proof way of doing this that someone of my skill level can understand - since I feel like this is something that tons of Drupalers would need to do.
The Node Hierarchy module..it is 99% of what I need....so I have to assume it is me just not understading how to use it properly?? If someone can get me to figure it out, I will write the documentation...as that is about the only type of contribution I am capable of making.
Sorry for ranting...but its 3:30am where I am, and I have been literally wrestling this one for 6 hours.
Maybe the answer will come with a clear head and a good nights sleep....
Are you are looking for list
Are you are looking for list of child links like in http://www.sankalp.org/education The child links are at the bottom.
Use this code:
As you, dear reader may have noticed, our menu's number is 666! I, for one, don't want to call Satan with our PHP function, so we're going to have to find a new number. As it so happens, you already have a whole set of numbers to choose from.
In your user menu, go to administrate->menus (the path is admin/menu). Now get the menu's number as described by the below visual aid:
Take the mouse over the menu name. You can see the menu number is the path on status bar.
Hope this helps you
Best
Pushkar Pathak
www.excelsolutions.biz
Followup - no images allowed in posts ...
I am experimenting with what info you have provided....but there is not an image that came through on your post.
It is not the node number of the parent that you are looking for is it? I suspect not, as that does not seem to work.
I will keep playing, but if you happen to be online still, more insight would be appreciated...
Are you just inserting that php code into the parent body?
on her support for the
on her support for the module, most people have got this problem fixed by making sure the permissions for access embedded child view are turned on for visitors.
hasn't worked for me yet though. sounds like i have exactly the same problem - as the node creator i can see the children, but no-one else can.
Embeded Child view...
Very odd, I will try to re-install when I can.
I do not have a permissions item called "embedded child view" or anything similar.
these are the only permissions I have under the nodehierarchy module...
administer hierarchy
create child nodes
edit all node parents
edit own node parents
reorder children
view site outline
I use the Available Updates module...it says I have the latest version of NodeHierarchy.
UPDATE -
I see - it is part of the Nodehierarchy Views UI. I enabled that(and of course VIEWS and the VIEWS UI), ran update.php,
I have enabled also the "use php for block visability" for anonymous users, and enabled all the options for node hierarchy, but still no luck.
Closing this out - used Node Hierarchy
I found what I was looking for. The easiest way to accomplish this is via Node Hierarchy.
See this post for more details.
http://drupal.org/node/272918
Thanks to all for their help and ideas.