11
votes
Accepted
What are the features of the Group module versus Organic Group module?
About
The Group module allows for creating arbitrary collections of your content and users on your site, and grant access control permissions on those collections. It is available as of D7, and has a ...
7
votes
Accepted
What URL do I use to view an OG membership entity?
I don't think that there is a page you can view the membership. I've just skimmed the code of OG module and didn't found any relating part which displays a membership in a separate page.
However, ...
5
votes
What are the features of the Group module versus Organic Group module?
There is an article that comes from being published named: GROUP FOR DRUPAL
The author says about group:
Simple
Groups should be like content types. I want different kinds of groups
with ...
4
votes
Accepted
In using the rule "OG new content notification," (rules_og_new_content) how can I insert the group name in the outgoing email
Add Action >> Get group members from group audience >> node
Add Loop >> node:og-group-ref
Add Loop inside loop >> group-members >> rename list_item to list_item2
Add Action >> Fetch entity by ...
4
votes
What URL do I use to view an OG membership entity?
There is no view link because it does not exist.
As you've already mentioned: a membership is an entity. Entities, by default, don't have display pages. You use a custom entity if the data does not ...
3
votes
How to create a view of nodes of which a user is a member?
Organic Groups provises a default view for this called "OG User Groups". You can use that as a base and adapt it accordingly.
3
votes
hook_menu_alter with Organic Groups
This is how I solved a similar problem with the hook_menu() and the use of 'title callback' and 'page callback'
function YOUR_MODULE_menu() {
$items = array();
$items['link'] = array(
...
3
votes
How to limit search results based only on OG group membership?
Group module as possible OG alternative
As per your (3rd) comment like "I personally think OG is ..." below the previous answer: be aware that the Group module is a possible alternative for Organic ...
3
votes
How to limit search results based only on OG group membership?
Editing my answer here as there seems to be a glitch in Views. Even with no contextual filters or relationships, just filtering by groups audience and exposed search doesn't work. The SQL query has ...
3
votes
Accepted
In the OG API, which hooks are available when a group admin adds or removes a user from a group?
You can find all OG hooks here.
You already mentioned two of them, but for the sake of a complete answer here are the hooks fired on membership add/edit/delete:
hook_og_membership_insert
...
3
votes
Accepted
Organic Groups -- Load group from gid
You don't need to use group_load anymore! Use node_load instead. You gid is equivalent to nid.
3
votes
Accepted
Set (add) group role using Rules when organic group membership is updated?
You should note that group role is not a field or property in the og_membership entity. The og_membership entity contains the properties etid, entity_type, group_type, and gid. There are other ...
2
votes
How do I mass flag a node on behalf of users (possibly with VBO)?
What you could do to get this to work, is to use the integration of VBO with the Rules module, as further detailed below.
Step 1: Create a Rules Component
Create a (rather basic) Rules component to ...
2
votes
How to let an OG administrator contact (via email) all group members?
This question have been answer at - How to loop over a list of Organic Group users using Rules
and at - How to send an email to Drupal 7 Organic Groups Role Members? in here is going to show you how ...
2
votes
Does Drupal have some kind of Structure system?
If you're new to Drupal, you might have a hard time getting your head around the (amazing) Panels module, and things like "context", etc. But it sounds that's part of what you're looking for. Watch ...
2
votes
Accepted
How to create a view of nodes of which a user is a member?
Organic Groups are providing a set a views already configured and ready to use. What you are looking for is one of these views, specifically this view: OG User groups of Type: OG membership.
You may ...
2
votes
Accepted
How do you save an entity reference value programmatically?
You need to get the results of your query after $query->execute() by for example calling $query->fetchAssoc() or $query->fetchAllAssoc(..).
Using $node->og_group_ref[LANGUAGE_NONE][0]['...
2
votes
Accepted
Can Forena Reports be used with Organic Groups to create a report with a "page" for each member?
IMO the approach to use the Views Show Query module as you wrote is definitely a valid approach to get you started. Even though I've not (yet) used this module to produce such queries, this part from ...
2
votes
Is it possible to embed a content creation form in views header?
It doesn't have to be in the view header. Just place it block above the view and adjust the css so they sit together.
If you use entity forms and entity form blocks, you can just place a block above ...
2
votes
How to show a link if the user is member of a specific OG group?
Create a block that includes that "Link to node/add/team_1_content with 'Text' = create node" as in your question.
Then use the Rules block visibility module. Here is a quote from its project page:
...
2
votes
Accepted
How to use rules to take a user from a group content page to the group page the content belongs to?
Many approaches available here. You can use the rules link module to do this. It can fetch the parent node and redirect to it when the link is clicked.
https://www.drupal.org/project/rules_link
...
2
votes
Accepted
Organic Group OG membership relationships
You just need to add OG membership: Group ID as a contextual filter,
click Provide Default: The OG groups of the logged in user
and under More at the bottom of the filter's settings,
click Allow ...
2
votes
Accepted
How to create a content-type with "sub-pages" that are default and/or custom per node
Everything you've described is done by OG (Organic Groups).
OG is originally designed for GROUPS to have 'private' sections of a website, or to manage how groups manage different parts of a website, ...
2
votes
Accepted
What causes EntityMetadataWrapperException: Unknown data property?
Please login to admin and go to following page. You need to add field for your bundle. It will resolve above error.
Home » Administration » Configuration » Group
Organic groups field settings
For ...
2
votes
Accepted
Display content by specific groups of users
The simple solution would be to add Term Reference field to the user's profile fields. Then for each user assigned them a taxonomy (in this case the taxonomy term name would be the group name).
Use ...
2
votes
Accepted
How to send an email using Rules to everyone in an Organic Group based upon a date field?
To do what you're asking for, I would only use the Rules module, and the Rules Scheduler (a submodule of it), as further explained below.
Step 1 - Create a Rules Component
Create a Rules Component ...
2
votes
Accepted
How to create a group page when creating a new group?
Have a look at the exported rule below, which is a variation of the (exported) rule in your question:
{ "rules_create_1st_group_page" : {
"LABEL" : "Create 1st Group Page",
"PLUGIN" : "...
2
votes
Accepted
How to send an email to an Organic Group admin for every comment of their group?
You can create a rule with:
Add Event "After saving new comment" or "after udating an existing comment"
Add action to the rule, under the "Organic Groups" section, there is a "Get group managers from ...
1
vote
How to restrict content access within a site?
1) How to create a specific set of users?
That's what you typically do by creating appropriate "roles" in your site, and then for each user, you assign appropriate "roles".
2) How can I restrict ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
organic-groups × 7077 × 261
views × 140
users × 134
nodes × 59
entities × 51
rules × 51
6 × 20
panels × 18
forms × 16
database × 15
taxonomy-terms × 13
commerce × 11
notifications × 11
routes × 10
emails × 9
distributions × 9
theming × 8
path-aliases × 8
hooks × 7
files × 7
navigation × 7
tokens × 6
flags × 6
features × 6