Attaching Views to nodes

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

The help for Views Attache says that then can "get 'attached" to either a user page or nodes of specified types'

but if I create an attachment display in a View, it seems to only want to attach to another View display, not to nodes. Can you attach a view to a specific node (i.e. node/6) or at least to all of a certain content type? If so, where is that specified?

Comments

try

template

drm's picture

The theme template is always a fallback. The query is simple enough that I would just pull the content out of the db myself.

But views_attach docs say you can attach to a "user node", which I can't figure out how to do. And viewfield, which sounds great, only has a development snapshot for D6, and that's from many moons ago. This is for a production site, so I can't use that.

Embedding a view in a

rjleigh's picture

Embedding a view in a template is cake; just one line. see the advanced help entry on your site at help/views/embed

I use viewfield on production sites - it's stable enough. There are plenty of projects that are more stable with a 'dev' in their names than others that have release numbers.

never used views_attach myself, just knew it was relevant.

viewreference

nerdoc's picture

use http://drupal.org/project/viewreference.
This is what I finally used after not finding a solution.