You are here

README.txt in Organic groups 6

The og_actions module is a collection of actions for use with the trigger and organic groups modules. 

Requirements:
og.module

Suggested:
trigger.module 
workflow.module

Actions
There are 5 actions in this module:

Non-configurable actions:
-------------------------
"Make the node publicly visible" -- This action will make the node visible to the public. This has the same effect as checking the "Public" box on node creation.

"Make the node private to its groups" -- This action has the opposite of "Make the node publicly visible."  This action is equivalent to unchecking the "public" box on node editing.

"Remove the node from all groups" -- This is action will remove all group ties to this node. This will occur even if you have selected "Audience Required" in your organic group settings.

Configurable actions:
---------------------
"Add the node to the specified group..." -- This action allows an administrator to select a group and add nodes to it. Any currently published, organic group node type will be listed. In large lists, this could potentially be a very long list. This action could potentially add a node that is in the excluded content type list.

"Remove the node from the specified group..." -- This action removes the node from the selected groups. Potentially, it could remove the last group from the node, even if "Audience Required" is selected in organic groups.

Notes
If you are using workflow.module with this module, you may find that your actions are not taking effect during node creation. To fix this bug use the following SQL query in your database:

UPDATE SYSTEM SET weight = 10 WHERE name = "workflow"

This will ensure that og adds its data to the node before workflow attempts to act on it. You could alternatively set workflow's weight in the system table using the weight module.

File

modules/og_actions/README.txt
View source
  1. The og_actions module is a collection of actions for use with the trigger and organic groups modules.
  2. Requirements:
  3. og.module
  4. Suggested:
  5. trigger.module
  6. workflow.module
  7. Actions
  8. There are 5 actions in this module:
  9. Non-configurable actions:
  10. -------------------------
  11. "Make the node publicly visible" -- This action will make the node visible to the public. This has the same effect as checking the "Public" box on node creation.
  12. "Make the node private to its groups" -- This action has the opposite of "Make the node publicly visible." This action is equivalent to unchecking the "public" box on node editing.
  13. "Remove the node from all groups" -- This is action will remove all group ties to this node. This will occur even if you have selected "Audience Required" in your organic group settings.
  14. Configurable actions:
  15. ---------------------
  16. "Add the node to the specified group..." -- This action allows an administrator to select a group and add nodes to it. Any currently published, organic group node type will be listed. In large lists, this could potentially be a very long list. This action could potentially add a node that is in the excluded content type list.
  17. "Remove the node from the specified group..." -- This action removes the node from the selected groups. Potentially, it could remove the last group from the node, even if "Audience Required" is selected in organic groups.
  18. Notes
  19. If you are using workflow.module with this module, you may find that your actions are not taking effect during node creation. To fix this bug use the following SQL query in your database:
  20. UPDATE SYSTEM SET weight = 10 WHERE name = "workflow"
  21. This will ensure that og adds its data to the node before workflow attempts to act on it. You could alternatively set workflow's weight in the system table using the weight module.