You are here

README.txt in Community Tags 6

Same filename and directory in other branches
  1. 5 README.txt
  2. 6.2 README.txt
  3. 7 README.txt

-----------------------
  OVERVIEW
-----------------------
Community Tags module allows users with the proper permissions to tag other users' content. These
tags can be displayed in a "tag cloud" from Tagedlic module in a variety of ways in order to
emphasize popular items.

Note: As of 2.x this module no longer requires the 6.x version of Tagadelic module. If Tagadelic is installed it may be selected
for tag display.

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

1. Download the 6.x version of Tagadelic module and place its directory into your Drupal
   modules directory.

2. Download the 6.x version of Community Tags module and place its directory into your Drupal
   modules directory.

3. Enable the modules by navigating to:

     Administer > Site Building > Modules

4. Create a free tagging vocabulary for your content type(s) by going to:

     Administer > Content managment > Taxonomy

   On the "edit vocabulary" pages of the vocabularies you wish to use for community tagging,
   select the content type(s) to tag, and check the "Tags" setting.

5. Select which vocabularies should use community tagging by going to:

     Administer > Site Configuration > Community tags

   Note: you can only select free-tagging vocabularies - i.e. those that have the "Tags" setting checked.

6. Select how each node type should display the community tagging form by going to:

     Administer > Content > Content Types

   Note: The community tagging settings can be found in the "Workflow settings" section
   of the content type settings form. They will only be visible if a community tags
   enabled vocabulary is assigned to the content type. See steps 4 and 5 above!

6. Set permissions for tagging content and editing tags by going to:

     Administer > Access control

-----------------------
  NOTES
-----------------------

1. Block caching - Block caching is not supported for the community tags block.

------------------------
  WORKFLOW
------------------------
These are the rules applied to community tags WRT to affecting workflow.

The following workflow satisfies:
#984496 - tag attribution on node save
#612318 - node save handled correctly
#309681 - support generated nodes e.g. Feed API
#199936 - support more than one CT vocabulary
#984462 - when a tag is no longer attached to any nodes, (provide option to) automatically remove it from its taxonomy vocabulary - delete orphans mode
#644640 - quick form submit doesn't node save
#655354 - Community tags and apache solr search
#250300 (partial) - Node Author must be able to delete the unwanted tags. Non-sync mode supports use case 2 in comment #5 -  content is tagged by community member for use by themselves


Note: In the following discussion "valid terms" refer to taxonomy terms belonging
to free-tagging vocabularies that have been configured for use as "community tags".


Community Tags operations:
==========================

Tag added
---------
If not already present add term to node terms via node_save() (sync mode).


Tag removed
-----------
1. If node has this tag as a node term and no other user has tagged this node with this
term then remove node term via node_save() (sync mode).

2. Orphaned terms are removed (delete orphans mode only)


Node operations:
================

New node
--------
Community tags are created for all valid node terms with user set to
the node editor (not author).


Node update
-----------
1. Any valid node terms that are not community tags (for any user)
are added as community tags for the node editor - i.e. current user.

2. Any community tags for the node (for any user) that are not valid node terms
are either a) deleted for all users (snyc mode) or b) deleted for the current user (non-sync mode).

3. Orphaned terms are removed (delete orphans mode only)


Node delete
-----------
1. All community tags records are removed for the deleted node.
2. Remove orphaned terms (delete orphans mode only)


User operations:
================

User delete
-----------
All community tags are removed for the deleted user. Where the deleted user's tags were the
only tag for the combination of node/term then do:
1. Remove corresponding node terms (sync mode)
2. Remove orphaned terms (delete orphans mode only)

(NB thinking of having the option of moving tags to a "dead" user rather than
lose potentially valuable tagging activity).


Taxonomy operations:
====================

Term delete
-----------
All community tags are removed for the deleted term. No synchronisation issues.


Configuration changes:
======================

What happens when configuration that affects CT behaviour changes? NB: a valid
CT vocabulary is free-tagging, CT enabled, and has content type(s) assigned.

Valid CT vocabulary is changed to non-free-tagging
------------------------------------------------------
Does nothing. Tags will remain in the database. All CT operations including
orphan control etc only affect tags in valid CT vocabularies. If vocabulary is
subsequently reverted back to free-tagging then there may be some orphaned
tags for any nodes, terms or users that have been deleted in the mean time. Rebuild.

Valid CT vocabulary has community tagging disabled via the Community Tags settings page
---------------------------------------------------------------------------------------
Similar to above.

Valid CT vocabulary has content type assignation(s) removed
-----------------------------------------------------------
Similar to above. Will prevent orphaned terms from being removed (delete orphans mode only)
if tags were created for the de-assigned content type and other content type(s) are
being tagged with the same vocabulary. Need a solution?

CT Synchronisation mode changes
-------------------------------
No affect.


-----------------------
  AUTHOR INFORMATION
-----------------------

Tagadelic was originally written by Bèr Kessels and more information can be
found on http://www.webschuur.com/modules/tagadelic.

Carpentered in the webschuur.com

Additional modifications including weighted node tagging, the quick tag form and
user tags have been authored by Rob Barreca of Electronic Insight and more
information can be found at http://www.electronicinsight.com.

Cherry-picking from Rob Barreca's work and using it to create the Community Tags
module was done by Angela Byron of Lullabot with support from the Bryght guys.

Steven Wittens of Bryght updated this module to 5.x, cleaned up the code some more
and added more shiny features.

Andy Chapman - partial rewrite for 2.x.

File

README.txt
View source
  1. -----------------------
  2. OVERVIEW
  3. -----------------------
  4. Community Tags module allows users with the proper permissions to tag other users' content. These
  5. tags can be displayed in a "tag cloud" from Tagedlic module in a variety of ways in order to
  6. emphasize popular items.
  7. Note: As of 2.x this module no longer requires the 6.x version of Tagadelic module. If Tagadelic is installed it may be selected
  8. for tag display.
  9. -----------------------
  10. INSTALLATION
  11. -----------------------
  12. 1. Download the 6.x version of Tagadelic module and place its directory into your Drupal
  13. modules directory.
  14. 2. Download the 6.x version of Community Tags module and place its directory into your Drupal
  15. modules directory.
  16. 3. Enable the modules by navigating to:
  17. Administer > Site Building > Modules
  18. 4. Create a free tagging vocabulary for your content type(s) by going to:
  19. Administer > Content managment > Taxonomy
  20. On the "edit vocabulary" pages of the vocabularies you wish to use for community tagging,
  21. select the content type(s) to tag, and check the "Tags" setting.
  22. 5. Select which vocabularies should use community tagging by going to:
  23. Administer > Site Configuration > Community tags
  24. Note: you can only select free-tagging vocabularies - i.e. those that have the "Tags" setting checked.
  25. 6. Select how each node type should display the community tagging form by going to:
  26. Administer > Content > Content Types
  27. Note: The community tagging settings can be found in the "Workflow settings" section
  28. of the content type settings form. They will only be visible if a community tags
  29. enabled vocabulary is assigned to the content type. See steps 4 and 5 above!
  30. 6. Set permissions for tagging content and editing tags by going to:
  31. Administer > Access control
  32. -----------------------
  33. NOTES
  34. -----------------------
  35. 1. Block caching - Block caching is not supported for the community tags block.
  36. ------------------------
  37. WORKFLOW
  38. ------------------------
  39. These are the rules applied to community tags WRT to affecting workflow.
  40. The following workflow satisfies:
  41. #984496 - tag attribution on node save
  42. #612318 - node save handled correctly
  43. #309681 - support generated nodes e.g. Feed API
  44. #199936 - support more than one CT vocabulary
  45. #984462 - when a tag is no longer attached to any nodes, (provide option to) automatically remove it from its taxonomy vocabulary - delete orphans mode
  46. #644640 - quick form submit doesn't node save
  47. #655354 - Community tags and apache solr search
  48. #250300 (partial) - Node Author must be able to delete the unwanted tags. Non-sync mode supports use case 2 in comment #5 - content is tagged by community member for use by themselves
  49. Note: In the following discussion "valid terms" refer to taxonomy terms belonging
  50. to free-tagging vocabularies that have been configured for use as "community tags".
  51. Community Tags operations:
  52. ==========================
  53. Tag added
  54. ---------
  55. If not already present add term to node terms via node_save() (sync mode).
  56. Tag removed
  57. -----------
  58. 1. If node has this tag as a node term and no other user has tagged this node with this
  59. term then remove node term via node_save() (sync mode).
  60. 2. Orphaned terms are removed (delete orphans mode only)
  61. Node operations:
  62. ================
  63. New node
  64. --------
  65. Community tags are created for all valid node terms with user set to
  66. the node editor (not author).
  67. Node update
  68. -----------
  69. 1. Any valid node terms that are not community tags (for any user)
  70. are added as community tags for the node editor - i.e. current user.
  71. 2. Any community tags for the node (for any user) that are not valid node terms
  72. are either a) deleted for all users (snyc mode) or b) deleted for the current user (non-sync mode).
  73. 3. Orphaned terms are removed (delete orphans mode only)
  74. Node delete
  75. -----------
  76. 1. All community tags records are removed for the deleted node.
  77. 2. Remove orphaned terms (delete orphans mode only)
  78. User operations:
  79. ================
  80. User delete
  81. -----------
  82. All community tags are removed for the deleted user. Where the deleted user's tags were the
  83. only tag for the combination of node/term then do:
  84. 1. Remove corresponding node terms (sync mode)
  85. 2. Remove orphaned terms (delete orphans mode only)
  86. (NB thinking of having the option of moving tags to a "dead" user rather than
  87. lose potentially valuable tagging activity).
  88. Taxonomy operations:
  89. ====================
  90. Term delete
  91. -----------
  92. All community tags are removed for the deleted term. No synchronisation issues.
  93. Configuration changes:
  94. ======================
  95. What happens when configuration that affects CT behaviour changes? NB: a valid
  96. CT vocabulary is free-tagging, CT enabled, and has content type(s) assigned.
  97. Valid CT vocabulary is changed to non-free-tagging
  98. ------------------------------------------------------
  99. Does nothing. Tags will remain in the database. All CT operations including
  100. orphan control etc only affect tags in valid CT vocabularies. If vocabulary is
  101. subsequently reverted back to free-tagging then there may be some orphaned
  102. tags for any nodes, terms or users that have been deleted in the mean time. Rebuild.
  103. Valid CT vocabulary has community tagging disabled via the Community Tags settings page
  104. ---------------------------------------------------------------------------------------
  105. Similar to above.
  106. Valid CT vocabulary has content type assignation(s) removed
  107. -----------------------------------------------------------
  108. Similar to above. Will prevent orphaned terms from being removed (delete orphans mode only)
  109. if tags were created for the de-assigned content type and other content type(s) are
  110. being tagged with the same vocabulary. Need a solution?
  111. CT Synchronisation mode changes
  112. -------------------------------
  113. No affect.
  114. -----------------------
  115. AUTHOR INFORMATION
  116. -----------------------
  117. Tagadelic was originally written by Bèr Kessels and more information can be
  118. found on http://www.webschuur.com/modules/tagadelic.
  119. Carpentered in the webschuur.com
  120. Additional modifications including weighted node tagging, the quick tag form and
  121. user tags have been authored by Rob Barreca of Electronic Insight and more
  122. information can be found at http://www.electronicinsight.com.
  123. Cherry-picking from Rob Barreca's work and using it to create the Community Tags
  124. module was done by Angela Byron of Lullabot with support from the Bryght guys.
  125. Steven Wittens of Bryght updated this module to 5.x, cleaned up the code some more
  126. and added more shiny features.
  127. Andy Chapman - partial rewrite for 2.x.