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
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

markj - August 13, 2008 - 07:38
Version:5.x-1.1» 6.x-1.x-dev

This feature would be of interest to me as well. I'd be happy to help supply use cases and test.

#2

dgorton - August 13, 2008 - 14:18

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

markj - August 13, 2008 - 15:50

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

ronan - August 13, 2008 - 15:59

The tabs could be created with a view, but the view would then need to be choosable through the Node Hierarchy end-user GUI.

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

markj - August 13, 2008 - 19:58

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

earthday47 - October 7, 2009 - 20:16
Status:active» fixed

I'm calling this fixed unless the poster is still having issues.

#7

System Message - October 21, 2009 - 20:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.