Is there a way to have a node's local menu tab show up in a block?

For example, I have a node with a menu tab "flashcards". When clicked, it brings me to the content and the url becomes node/nid/flashcards.

I would like to get this content into a block.

Is this possible with views?

Comments

nevets’s picture

If you want it in a block you would make a view with a block display (it would not have a path and therefor no menu tab). The view would take an argument (node:nid) and you would specify the default value as coming from the URL. So the block would be visible when visiting the node.

nicolas.lesage’s picture

Thank you very much for the reply. The problem I get when using the node's NID with views contextual filter is that it displays the node's default tab as shown in the link below

http://www.lesage4me.com/node/219

There are four tabs with different versions of the quiz but I would like to have one of those tabs show up in a block by default. Is there a way to do this with views?

Essentially, I want to get the link below directly into a block or another node using views.

http://www.lesage4me.com/node/219/flashcards

nevets’s picture

What is the source of the flashcard tab/link? A module, views, something else?

nicolas.lesage’s picture

It's the quizlet module.

nevets’s picture

I have never used the module but from a quick look it appears node based and it would require custom code to get the behavior you want.

nicolas.lesage’s picture

Thanks for your help. I decided to embed the flashcard decks in a new node/in its own block. I guess I never needed to use the module in the first place. I don't suppose you know of a module that let's you make flash cards with images and audio, do you? The Quizlet module is great but I have to embed its iframe instead of having my flashcards stored on my own database :(.