Creating Sub-Sub-Tabs off of a Sub-Tab

Events happening in the community are now at Drupal community events on www.drupal.org.
jeff00seattle's picture

Hi

Query: I am trying to do sub-sub-tabs off a sub-tab.

I think I am doing it correctly. The sub-sub-tab link paths are viable but they are not visible below its sub-tab.

Documentation: This discussion, I think, would be a good submission to documentation, if it would help.

  1. How DEEP of sub-tabbing can one do in Views 2?
  2. If on one-level of Sub-Tabbing, then can I make them deeper?
  3. I am beginning to wonder if this a theme-ing issue (I am using Zen-Classic).

All of the following entries are all made within the same view tag

Using the Views Editor, I was able to create Tabs (2 Tabs labeled Projects and Project Tasks) as follows (cool!):

View A Pages: Projects: Root Tab: Projects
Page Name Path Menu Weight
Default NA NA NA
Root Page "Projects": projects_view/, Normal menu entry 0
Default Tab Page "Projects" projects_view/projects Default menu tab 0
View B Pages: Project Task: Tab: Project Tasks
Page Name Path Menu Weight
Default NA NA NA
Tab Page "Project Tasks" projects_view/project_tasks Menu tab 1

Again using the Views Editor, I was able to create Sub-Tabs off of one of any of the previous create Tabs (very cool!).
This illustrates creating (5) sub-tabs off the "Projects" (first) tab as follows:

View A More Pages: Projects: Root Sub-Tab: Projects, Sub-Tabs: Progress
Page Name Path Menu Weight
Root Page "Projects:All": projects_view/projects Normal menu entry 0
Default Sub-Tab Page "Projects:All" projects_view/projects/all Default menu tab 0
Sub-Tab Page "Projects:Not Defined" projects_view/projects/not_defined Menu tab 1
Tab Page "Projects:Proposed" projects_view/projects/proposed Menu tab 2
Tab Page "Projects:In Planning" projects_view/projects/in_planning Menu tab 3
Tab Page "Projects:In Progress" projects_view/projects/in_progress Menu tab 4
Tab Page "Projects:On Hold" projects_view/projects/on_hold Menu tab 5

Here is where sub-sub-tabs views do not show:
Again using the Views Editor, I was able to create Sub-Sub-Tabs off of one of any of the previous create SubTabs (but here is where these Sub-Sub Tabs do not become visible!).

I am wondering if this a theme-ing issue (I am using Zen-Classic)???

This illustrates creating (3) sub-sub-tabs off the "Projects:In Progress" (fifth) sub-tab as follows (notice the Weighting, it starts where the sub-tab "Projects:In Progress" left off.):

View A Even More Pages: Projects: Tab: Projects, Root Sub-Tab: In Progress, Sub-Sub-Tabs: Status
Page Name Path Menu Weight
Root Page "Projects:In Progress:All": projects_view/projects/in_progress Normal menu entry 4
Default Sub-Sub-Tab Page "Projects:In Progress:All" projects_view/projects/in_progress/all Default menu tab 4
Sub-Sub-Tab Page "Projects:In Progress:Green" projects_view/projects/in_progress/green Menu tab 5
Sub-Sub-Tab Page "Projects:In Progress:Yellow" projects_view/projects/in_progress/yellow Menu tab 6
Sub-Sub-Tab Page "Projects:In Progress:Red" projects_view/projects/in_progress/red Menu tab 7

NOTE: The paths of the three non-visible sub-sub-tabs (Green, Yellow, & Red) are active viable links !!

It would be really very cool!!! for my site to have sub-sub tabs if it is possible.

Any ideas on how I can achieve this?

Thanks

Jeff in Seattle

Comments

You probably would've saved

merlinofchaos's picture

You probably would've saved yourself some time:

From the 'menu' topic (the question mark to get to this is available while editing the menu settings).

Drupal only supports 2 levels of tabs, so be careful about trying to put tabs within tabs within tabs. That won't work.

This is a limitation of Drupal itself, not Views.

Quirky Idea: Views within Views?

jeff00seattle's picture

I just had one quirky idea as a possible work-around, is it possible to put a view within a view?

In other words, render a view within a view's menu tab.

Thanks

Jeff in Seattle

Thanks

Jeff in Seattle

Viewfield module

excaliburst's picture

Hi Jeff,

Sorry for the late reply.

I think the module Viewfield is what your are looking for.

http://drupalmodules.com/module/viewfield

It can put a view into a field of a node and thereby make it into another view.

Good luck

Morten

Morten Enevoldsen
Tlf. 4098 0898

You could also insert a view

josepvalls's picture

You could also insert a view in the header area of the view. There is a module that enables an input format to do so.

Sub Tabs

jakerogers's picture

You're already 2 levels beyond me, so I would be happy just to know how to add a sub tab to an existing tab on my front page. Can you please help? I've exhausted my resoursces, loaded so called "nice menus" , which work but I don't want two menus on my home page. Thanks for any advise, help or reference.
Jake

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: