ist it just me (and my installation), or don't I get the inserted views displayed in a view?

If I display a node, I get:

node content
inserted view content
node content

In a view, I get:

node content
[view:inserted_view=1]
node content

Comments

hubrt’s picture

Title: inserting views and views » can't insert view in other views

I tried to describe the problem before:

an inserted view is displayed perfectly well in a node.

like:
node contet
insert view content

But the same node in a view shows
node contet
and the text string [view:inserted_view=1]

instead of the content, which it refers to.

Any ideas anybody?

mlsamuelson’s picture

Status: Active » Closed (works as designed)

The Insert View module is only intended for use with nodes. In other words, you can't insert a view within another view.

The reason is simple: so that this module has the proper context with which to bring in the view content, we don't use the usual Drupal filter methods, and instead use hook_nodeapi(), which acts upon, you guessed it, nodes.

mlsamuelson