You are here

README.txt in Insert View 2.0.x

Same filename and directory in other branches
  1. 8 README.txt
  2. 5 README.txt
  3. 6.2 README.txt
  4. 6 README.txt
  5. 7.2 README.txt
CONTENTS OF THIS FILE
---------------------
   
 * Introduction
 * Security Warning
 * Requirements
 * Installation
 * Configuration
 * How to find a display id 
 * Performance
 * Maintainers


INTRODUCTION
------------

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]


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.


REQUIREMENTS
------------

No special requirements


INSTALLATION
------------

Install as you would normally install a contributed Drupal module. See:
https://drupal.org/documentation/install/modules-themes/modules-8 for further
information.


CONFIGURATION
-------------

 * 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.


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 admin/build/views/edit/tracker?destination=node%2F51#views-tab-page
the display ID would be "page".


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.


MAINTAINERS
-----------

Current maintainers:
 * andrew morton (drewish) - https://www.drupal.org/user/34869
 * Renato Gonçalves (RenatoG) - https://www.drupal.org/user/3326031 
 * Adam Balsam (balsama) - https://www.drupal.org/user/223087
 * Michael Samuelson (mlsamuelson) - https://www.drupal.org/user/47411
 * Paulo Henrique Starling (paulocs) - https://www.drupal.org/user/3640109
 * Michael Samuelson (mlsamuelson) - https://www.drupal.org/user/47411
 * Artem Dmitriiev (a.dmitriiev) - https://www.drupal.org/user/3235287

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Security Warning
  5. * Requirements
  6. * Installation
  7. * Configuration
  8. * How to find a display id
  9. * Performance
  10. * Maintainers
  11. INTRODUCTION
  12. ------------
  13. Insert view filter allows to embed views using tags. The tag syntax is
  14. relatively simple: [view:name=display=args]. The parameters are: view name, view
  15. display id, view arguments. For example [view:tracker=page=1] says, embed a view
  16. named "tracker", use the "page" display, and supply the argument "1". The
  17. display and args parameters can be omitted. If the display is left empty, the
  18. view's default display is used. Multiple arguments are separated with slash. The
  19. args format is the same as used in the URL (or view preview screen).
  20. Valid examples:
  21. [view:my_view]
  22. [view:my_view=my_display]
  23. [view:my_view=my_display=arg1/arg2/arg3]
  24. [view:my_view==arg1/arg2/arg3]
  25. SECURITY WARNING
  26. ----------------
  27. This filter is powerful, therefore it should be granted to trusted users only.
  28. If you allow this filter to untrusted users, then you have to make sure that
  29. EVERY VIEW EVERY DISPLAY (default display also!) has correct views access
  30. settings.
  31. REQUIREMENTS
  32. ------------
  33. No special requirements
  34. INSTALLATION
  35. ------------
  36. Install as you would normally install a contributed Drupal module. See:
  37. https://drupal.org/documentation/install/modules-themes/modules-8 for further
  38. information.
  39. CONFIGURATION
  40. -------------
  41. * Once Insert view is installed, visit the the input formats page at
  42. /admin/settings/filters and click the "configure" link for the input format(s)
  43. for which you wish to enable the Insert view filter. Then simply check the
  44. checkbox for the filter.
  45. HOW TO FIND A DISPLAY ID
  46. ------------------------
  47. On the edit page for the view in question, you'll find a list of displays at the
  48. left side of the control area. "Defaults" will be at the top of that list. Hover
  49. your mouse pointer over the name of the display you want to use. A URL will
  50. appear in the status bar of your browser. This is usually at the bottom of the
  51. window, in the chrome. Everything after #views-tab- is the display ID. For
  52. example in admin/build/views/edit/tracker?destination=node%2F51#views-tab-page
  53. the display ID would be "page".
  54. PERFORMANCE
  55. -----------
  56. To display views correctly, Insert view turns off caching for the input formats
  57. for which it is enabled. That means every node using this input format will not
  58. be cacheable. This can impact site performance. In these cases, it is
  59. recommended to create a special input format for use when inserting views.
  60. MAINTAINERS
  61. -----------
  62. Current maintainers:
  63. * andrew morton (drewish) - https://www.drupal.org/user/34869
  64. * Renato Gonçalves (RenatoG) - https://www.drupal.org/user/3326031
  65. * Adam Balsam (balsama) - https://www.drupal.org/user/223087
  66. * Michael Samuelson (mlsamuelson) - https://www.drupal.org/user/47411
  67. * Paulo Henrique Starling (paulocs) - https://www.drupal.org/user/3640109
  68. * Michael Samuelson (mlsamuelson) - https://www.drupal.org/user/47411
  69. * Artem Dmitriiev (a.dmitriiev) - https://www.drupal.org/user/3235287