Insert View is a filter that allows users to embed content lists generated by the Views module into node bodies and blocks using relatively simple tag syntax.
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.
The tag syntax is [view:name=display=args]
The parameters are: view name, view display id, view arguments.
Valid examples:
[view:my_view] is replaced by the content listing.
[view:my_view=my_display] invokes the view using the specified display.
[view:my_view=my_display=arg1/arg2/arg3] invokes the view using the specified display and passes arg1, arg2 and arg3 to the view.
[view:my_view==arg1/arg2/arg3] passes arg1 to the view and will use the "default" display set for the view.
Read README.TXT for more information.
Similar modules:
Entity Views Attachment insert view into any entity
View reference insert view with custom field
Views Field View insert view into view
Views attach D6 insert view into user or node
Viewfield D6 insert view with custom CCK field
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Content Display
- Ecosystem: View, Input Formats
- 13,118 sites report using this module
- Created by eaton on , updated
- Drupal 10 is here!
Upgrade
drupal/insert_view
to version^2.1
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.