Children as tabs
Craig Gardner - August 6, 2008 - 00:48
| Project: | Node Hierarchy |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Is there a way to display the children nodes as tabs? So rather than having the tab with a list of child pages I would like to have a bunch of tabs that link to the child pages.

#1
This feature would be of interest to me as well. I'd be happy to help supply use cases and test.
#2
Depending on what you're after, this is actually possible in the theming layer. This page: http://www.productivecorp.com/about-us (an 'About Us' page) shows it's children (e.g. 'Areas We Serve', 'Customers', etc.) as tabs. In that case, the selected NH Embedded Children View is themed up with a combination of CSS and jQuery.
#3
This looks good, but embedding views (using insert_view, for example) is cumbersome for most non-technical content creators. What I'm thinking of is a way for admins to define different ways of rendering the children (for example, menu, tabs) and then to allow users to select which rendering they want. The tabs could be created with a view, but the view would then need to be choosable through the Node Hierarchy end-user GUI.
#4
Actually embedding views of children is already a feature of nodeheirarchy_views. Just enable that module and enable the 'edit embedded views' permission (I don't remember the exact name off hand) for your editors and they should have a pulldown in the node hierarchy section of the node edit page that allows them to embed a view of children.
#5
Thanks, I didn't see that! Now all I need to do is create a view and style the tabs. If I'm successful I'll share my style mods on this thread.
#6
I'm calling this fixed unless the poster is still having issues.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.