Insert view: embed a view into a node

The Insert view module allow you to embed the result of a particular view into a node by means of a tag.

In order to use it, you have to:

  • Use the Views module,
  • Enable 'insert view filter' in an input filter and use this input filter anytime you need the Insert view functionalities (you may have more than one input filter using the 'insert view' filter).

The syntax can have 3 forms:

  1. [view:myview]
  2. [view:myview=maxitem]
  3. [view:myview=maxitem=firstargument]

The first form ([view:myview]) will insert the result of the view myview in place of the tag. Be aware that it always inserts the page view even if the view does not provide a page view.

The second form ([view:myview=maxitem]) will do the same except that the results won't ever exceed maxitem records. It's only a limiter - it does not provide a pager. If there are more elements to show, users won't be able to see them.

The third form ([view:myview=maxitem=firstargument]) will do what the first two do but you can restrict results using firstargument.

At the time of writing, these tags are not expanded when you use the printable version provided by the book module.

imput Filter ?

jalal.elali - August 20, 2008 - 19:23

I found that there is a version of insert view for drupal 6.0 , but in this document it is mentioning that we need to use the input filter that is just available for 4.x and 5.x ..
Could you please advice ..
Thanks

 
 

Drupal is a registered trademark of Dries Buytaert.