Hi All,

For the site I'm rolling out, there is a section about the society it represents. The logical organisation for this is a book.

Can I use a view as a page in the book? I would like for example to be able to have a page for "meeting reports" in that book, and when that page is selected the view pulls back the reports as normal.

I've done my searches but can't find anything that seems to fit. Can anybody tell me if this is possible, and if so, how I could create it?

Thanks,
Gareth

Comments

espie’s picture

Sure, install Insert view, and then you can insert views into any node.

gareth_w’s picture

That looks exactly what I want.

One thing I'm coming to love about Drupal is how all these little things interact neatly with one another. If only I were better at finding them in the first place!

Thanks again,
Gareth

Shai’s picture

I'm about to do the same exact thing. It does work. I don't know another way. However, it should be noted that this is a hacky approach that has negatives.

The problem is that you now have two unique URLs that represent the same page. One is a node page with the view embedded and one is the view itself. The content in these two situations is exactly the same (though block settings etc. may be different), which isn't a good thing, for SEO, site maintenance/design and probably more.

I wonder if Views 2 allows the book module's "Outline" tab to appear for Views? This is the solution that is needed.

content2zero.com

stolzenhain’s picture

Views Attach works less hacky: You define an standard View attached to a certain node type.

So you:

1. Generate a special node type to attach your view
2. Define this node type as a possible sub-page for books (via BookMadeSimple, f.e.)

I found that approach the best in similar situations.