I have a content type that has several CCK field group tabs. Most of these tabs display various fields from the node, but I would like for one of the tabs to display a views block. Is this possible?

Comments

WillHall’s picture

wuertele’s picture

That's EXACTLY what I mean! Thanks!

nevets’s picture

Yes, set up a view with a block display.

Give it an argument of Node: nid and set the default using "node id from url", restrict the valid node type to the one in question.

Now add the fields in the tab to the list of fields to display.

Under the content types "Manage Display" tab hide/disable the display of those same fields.

wuertele’s picture

Nevets, does your solution use viewreference? If not, how does displaying the node also display the view block?

nevets’s picture

No, views reference is for adding a view to a node.

Since the view sets the default argument to node id using the url it will only display on the default pages for listing a node (ie path of the unaliased form node/{nid}). By setting it so it only validates for your content type it will only display for nodes of that type.