Insert View

mlsamuelson - January 12, 2006 - 06:33

Insert View is a filter that allows users to embed content lists generated by the excellent Views module in node bodies and blocks using relatively simple tag syntax. Naturally, it requires the Views module to operate.

Why would you want to use an Insert View tag when you could just invoke a view using PHP? Simple. When you want to allow users to insert views or edit content on a page with an inserted view without granting them permission to use PHP.

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.

[You might also find the Viewfield module of interest. Viewfield is a CCK field module that allows administrators to put views directly into nodes.]

Releases

Official releasesDateSizeLinksStatus
5.x-1.02008-Mar-208.09 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2008-Jun-279.24 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-Jun-268.36 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.