i'm looking to create a block that displays a different view on each tab. can someone please help me?

specifically,
i'm creating a block that has three tabs. the most commented articles on the site on one tab, the most viewed articles on another tab, and the most emailed is on a third tab.
the key here is that the three views (ie tabs) are independent of each other. i need to apply different filters to each tab. showing the same fields is ok, but i really do need to have different filters on each of the tabs. I also need to be able to display text of my choosing on each tab (viewed, commented, emailed).

i've tried using the views tabs module (among others) and have not been able to accomplish this. i simply get the ability to sort and group by one tab or another. i can apply several blocks but i can't get them to join into a set of tabbed views.

does any know of any modules that could accomplish this? or if it can be done with the views tabs module? or even any pointers in the right direction?

Thanks a million

***************************************************************************
To anyone who may have the same needs as me:

I found a module that accomplishes the required functionality. the module is called "Tabbed Block" that allows you to create "tabbed blocks" in which a different block view can be assigned to different tabs.

The tabbed blocks can be created in Administer -> Site configuration -> Tabbed Block settings

http://drupal.org/project/tabbed_block

***************************************************************************
Even better solution:

use the QuickTabs module

when browsing the issues list (b/c the zen tabs don't work in the zen theme) i came across this. For some truly kick a** tabs, check this out:
http://drupal.org/node/372958

hope this helps somebody :)

Comments

Ellen Dee’s picture

Can you not instead create three page-type views with an alternate tabbed menu instead?

To clarify:

- Create a new page node to hold the tabbed menu. Let's call it "MyPage".

- Under Site Building > Menus, create a new menu called, say, "MyTabs".

- Go into Views and create your three separate views (for each tab), display type "Page", and give them a path.

- Return to Site building > Menus and add three items to MyTabs, specifying the path for each view.

- Add your MyTabs menu to page.tpl.php with a conditional check so that it only displays if you are on MyPage. Modify your CSS so the menu displays as tabs.

Hope that helps.

1ncipient’s picture

thank you very much for your response, gamutalarm.

It seems that I did not do something correctly because all that i received as output was the menu title. (?)

i tried setting up the page views with a path and "no menu entry" and also with a "menu tab entry" but alas, to no avail.

Ellen Dee’s picture

I'd love to help, but I'd need more detailed info on what you set up.

JohnnyBeGood-dupe2’s picture

Using "Views Display Tabs", which is simple and "ajaxified", you can do it everything in just one view (with 3 blocks).