Skip to content

Token syntax

The tag syntax from the original Insert View module still works. It is useful in plain text fields and in text formats without CKEditor.

[view:name=display=args]
Part Meaning
name Machine name of the view. Required.
display Display ID. Optional. The default display is used when empty.
args Arguments separated by /, in the same format as a URL path. Optional.

Valid examples:

[view:my_view]
[view:my_view=my_display]
[view:my_view=my_display=arg1/arg2/arg3]
[view:my_view==arg1/arg2/arg3]

A numeric display part is treated as part of the arguments format and falls back to default.

Find a display ID

Edit the view in Views UI and hover over a display tab. The ID is the part of the URL after #views-tab-. For .../views/edit/tracker#views-tab-page the display ID is page.

Older markup

Content created by version 1.x of the CKEditor plugin, stored as a JSON snippet containing inserted_view_adv and arguments, is still converted by the filter.