Using an argument with Insert view
The [view:myview=maxitem=firstargument] form can be very useful. For example, if you have a site with the following structure (every node
You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules
The Insert view module allows 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:
Drupal 5 Insert View tags
[view:name of view] is replaced by the content listing, and
[view:name of view=x] limits the listing to a particular x of entries.
[view:name of view=x=arg1,arg2,arg3] limits the listing to x entries and passes arg1, arg2 and arg3 to the view.
[view:name of view==arg1] passes arg1 to the view and places no limits on the number of entries to display.
[view_pager:name of view=x] inserts a pager view listing x entries per page. (Note, x is required). NEW!
etc.
Drupal 6 Insert View tags
[view:name of view] is replaced by the content listing.
[view:name of view=name of display] invokes the view using the specified display (see README.TXT for more info).
[view:name of view=name of display=arg1,arg2,arg3] invokes the view using the specified display and passes arg1, arg2 and arg3 to the view.
[view:name of view==arg1] passes arg1 to the view and will use the "default" display set for the view.
[view_pager:name of view=x] DEPRECATED. These tags will continue to function, but the pager and limits overrides won't occur. Use a custom Views display instead.
etc.
Drupal 7 Insert View tags
If you go to:
Views -> (Your Custom View) -> (Your Custom Page)
in the URL of your browser, use the following values to create your view tag:

At the time of writing, these tags are not expanded when you use the printable version provided by the book module.
For an inside look at the module and a demo of its features you can view the Insert View Module Preview
The [view:myview=maxitem=firstargument] form can be very useful. For example, if you have a site with the following structure (every node