You are here

README.txt in Community Tags 6.2

; $Id$

Community Tags Views
====================

All community tags views support is contained in this sub-module.

Tagging form attachment
------------------------

The tagging form views attachment allows you to add a tagging interface to
a view of community tags for a node. The entire view is refreshed via AJAX
in response to tagging actions.

The view it attaches to must have a node argument, and a vocabulary filter set to
a single vocabulary. If these conditions are not met the attachment will not display.

The term links or names can have checkboxes dynamically added by JS for one-click
tagging/un-tagging of existing tags. To enable this, add the class 'ct-tag' to
the term link or term name field that contains the term name text. You may need
to use field re-write or theming.

Caching Views Block with attachment
-----------------------------------

The only feasible Block Cache policy for block views with the tagging form attachment
is "per page, per user". I'm not sure what value there is in per page/per user
CT block caching - authcache is a much better solution. There is some support to selectively invalidate the
block cache on ajax tagging operations so that the view refreshes correctly.

TODO
----

1. Decide whether to continue support for block cache and if so make invalidation logic apply to non-ajax tagging ops.
2. More docs.



File

community_tags_views/README.txt
View source
  1. ; $Id$
  2. Community Tags Views
  3. ====================
  4. All community tags views support is contained in this sub-module.
  5. Tagging form attachment
  6. ------------------------
  7. The tagging form views attachment allows you to add a tagging interface to
  8. a view of community tags for a node. The entire view is refreshed via AJAX
  9. in response to tagging actions.
  10. The view it attaches to must have a node argument, and a vocabulary filter set to
  11. a single vocabulary. If these conditions are not met the attachment will not display.
  12. The term links or names can have checkboxes dynamically added by JS for one-click
  13. tagging/un-tagging of existing tags. To enable this, add the class 'ct-tag' to
  14. the term link or term name field that contains the term name text. You may need
  15. to use field re-write or theming.
  16. Caching Views Block with attachment
  17. -----------------------------------
  18. The only feasible Block Cache policy for block views with the tagging form attachment
  19. is "per page, per user". I'm not sure what value there is in per page/per user
  20. CT block caching - authcache is a much better solution. There is some support to selectively invalidate the
  21. block cache on ajax tagging operations so that the view refreshes correctly.
  22. TODO
  23. ----
  24. 1. Decide whether to continue support for block cache and if so make invalidation logic apply to non-ajax tagging ops.
  25. 2. More docs.