I have been able to add a couple of views to the suckerfish menu of the newsflash theme, but I can't seem to be able to work out how to add these same views to their corresponding books.

Can someone please advise how to do this? [Step by step instructions would be great :) ]

Comments

saml’s picture

If you want to add the views into book nodes ("pages"), then I guess the Insert view module is what you need.

After installing it, enable the filter which comes with it, for the input format you are using (In Administer > Site configuration > Input formats) and you can then use the following very easy syntax in the book nodes:

[view:name_of_your_view]
Anonymous’s picture

I had your reply open and ready to implement today, when I stumbled across this tutorial http://raincitystudios.com/blogs-and-pods/hubert/a-simple-ajax-image-gal... for setting up a gallery using cck/views and a few others modules. (Still trying to work out how best to do that for this current installation !)

Down the bottom it had php code to embed a view in a node
<?php print views_embed_view('view_name', $display_id = 'display_id');?>

which I had previously tried to do using code from http://drupalcontrib.org/api/function/views_embed_view/6 but unsuccessfully.

So I used that, and it works :)

Thanks again for your reply and suggestion.

mthomason’s picture

For anyone looking at this now, try ViewField. It works well for me.