I've created a lovely view that makes a bulleted list of the 5 most recent blog posts from the blog section of my site.

It makes a beautiful page and block, but what I want is to place the exported code an already-created block that is on the main page of the site and have it execute in the content of this block - it won't work well as it's own block (unless I set up about 5 new zones, which I would like to avoid).

I can't figure out how to get the view to execute inside the block.

The block is set to php input format, and I've tried pasting the exported view into it (shows up exactly as pasted, with all the $ and arguments in a mess), and I've also tried to create a snip of php that says, basically...

print $view_5_blog_posts

...with 5_blog_posts being the name of the view.

However, none of this works.

Help?

Deborah

Comments

nevets’s picture

See http://drupal.org/node/48816 for information on inserting views.