You are here

README.txt in Insert View 6.2

Same filename and directory in other branches
  1. 8 README.txt
  2. 5 README.txt
  3. 6 README.txt
  4. 7.2 README.txt
  5. 2.0.x README.txt
SECURITY WARNING
----------------
This filter is powerful, therefore it should be granted to trusted users only.
If you allow this filter to untrusted users, then you have to make sure that
EVERY VIEW EVERY DISPLAY (default display also!) has correct views access
settings.

OVERVIEW
--------
Insert view filter allows to embed views using tags. The tag syntax is
relatively simple: [view:name=display=args]. The parameters are: view name, view
display id, view arguments. For example [view:tracker=page=1] says, embed a view
named "tracker", use the "page" display, and supply the argument "1". The
display and args parameters can be omitted. If the display is left empty, the
view's default display is used. Multiple arguments are separated with slash. The
args format is the same as used in the URL (or view preview screen).

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

HOW TO FIND A DISPLAY ID
------------------------
On the edit page for the view in question, you'll find a list of displays at the
left side of the control area. "Defaults" will be at the top of that list. Hover
your mouse pointer over the name of the display you want to use. A URL will
appear in the status bar of your browser.  This is usually at the bottom of the
window, in the chrome. Everything after #views-tab- is the display ID. For
example in http://localhost/admin/build/views/edit/tracker?destination=node%2F51#views-tab-page
the display ID would be "page".

INSTALLATION
------------
Extract and save the insert_view folder in your site's modules folder and enable
it at admin/build/modules. Obviously, it requires the Views module to do its
magic.

Once Insert view is installed, visit the the input formats page at
/admin/settings/filters and click the "configure" link for the input format(s)
for which you wish to enable the Insert view filter. Then simply check the
checkbox for the filter.

PERFORMANCE
-----------
To display views correctly, Insert view turns off caching for the input formats
for which it is enabled. That means every node using this input format will not
be cacheable. This can impact site performance. In these cases, it is
recommended to create a special input format for use when inserting views.

File

README.txt
View source
  1. SECURITY WARNING
  2. ----------------
  3. This filter is powerful, therefore it should be granted to trusted users only.
  4. If you allow this filter to untrusted users, then you have to make sure that
  5. EVERY VIEW EVERY DISPLAY (default display also!) has correct views access
  6. settings.
  7. OVERVIEW
  8. --------
  9. Insert view filter allows to embed views using tags. The tag syntax is
  10. relatively simple: [view:name=display=args]. The parameters are: view name, view
  11. display id, view arguments. For example [view:tracker=page=1] says, embed a view
  12. named "tracker", use the "page" display, and supply the argument "1". The
  13. display and args parameters can be omitted. If the display is left empty, the
  14. view's default display is used. Multiple arguments are separated with slash. The
  15. args format is the same as used in the URL (or view preview screen).
  16. Valid examples:
  17. [view:my_view]
  18. [view:my_view=my_display]
  19. [view:my_view=my_display=arg1/arg2/arg3]
  20. [view:my_view==arg1/arg2/arg3]
  21. HOW TO FIND A DISPLAY ID
  22. ------------------------
  23. On the edit page for the view in question, you'll find a list of displays at the
  24. left side of the control area. "Defaults" will be at the top of that list. Hover
  25. your mouse pointer over the name of the display you want to use. A URL will
  26. appear in the status bar of your browser. This is usually at the bottom of the
  27. window, in the chrome. Everything after #views-tab- is the display ID. For
  28. example in http://localhost/admin/build/views/edit/tracker?destination=node%2F51#views-tab-page
  29. the display ID would be "page".
  30. INSTALLATION
  31. ------------
  32. Extract and save the insert_view folder in your site's modules folder and enable
  33. it at admin/build/modules. Obviously, it requires the Views module to do its
  34. magic.
  35. Once Insert view is installed, visit the the input formats page at
  36. /admin/settings/filters and click the "configure" link for the input format(s)
  37. for which you wish to enable the Insert view filter. Then simply check the
  38. checkbox for the filter.
  39. PERFORMANCE
  40. -----------
  41. To display views correctly, Insert view turns off caching for the input formats
  42. for which it is enabled. That means every node using this input format will not
  43. be cacheable. This can impact site performance. In these cases, it is
  44. recommended to create a special input format for use when inserting views.