Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Were did OG list disappeared from views?
Comment | File | Size | Author |
---|---|---|---|
20121123_202516.jpg | 2.51 MB | avrilev |
Were did OG list disappeared from views?
Comment | File | Size | Author |
---|---|---|---|
20121123_202516.jpg | 2.51 MB | avrilev |
Comments
Comment #1
amitaibuWhat is OG-list?
Comment #2
avrilev CreditAttribution: avrilev commentedOG-list is one of the views under Structure->Views....
But it's not there anymore (for some odd reason...)
Comment #3
amitaibuSorry, I don't know which view the OG-list is. Maybe it was in another version or provided by another module.
Comment #4
amitaibubtw, dude, did you actually take a picture of your screen? :)
Comment #5
avrilev CreditAttribution: avrilev commentedYes I did take that picture. The purpose of that was to show you guys, the absence of that particular view, that could be dropped out for some reason in this version of OG (the last one of course).
So??? Anyone????
Comment #6
amitaibuHow about you check if it was in a previous version? I don't remember ever having "OG list" in 7.x
Comment #7
daviding CreditAttribution: daviding commentedI was following the Modules Unravelled video at http://modulesunraveled.com/organic-groups/part-2-organic-groups-views , and at about 2:30, he configures OG List.
I have the same problem as reported previously ... except that was for Organic Groups 7.x.2.0-beta3, and now this field doesn't exist in Organic Groups 7.x.2.0-rc1 .
Comment #8
Tony-Mac CreditAttribution: Tony-Mac commentedAlso in the book "Definitive Guide to Drupal 7" on page 116 there is reference to a view called list of groups. I guess I need to head on over to the issue queue.
Comment #9
amitaibuI understand. Well, patches are welcome..
Comment #10
St.Ego CreditAttribution: St.Ego commentedAllow me to elaborate for the original poster:
In the copy 7.x-1.4_3-dev copy of OG that one site I am working on is running, /og/includes/og.views_default.inc begins by defining a View titled "og_list" that is used to show the list of all Groups.
This view is no longer defined in the 7.x-2.x branch.
In addition the three Views Relationship handlers for "OG group" are no longer found by Views (that code may also be missing in 7.x-2.x), but the ones for "OG membership" ARE still available. Specifically, relationship handlers are missing for "OG group: Node from OG group", "OG group: OG group from Node" and "OG group: OG membership from OG group".
The missing View utilizes the missing Relationship handler(s), which would also be required to try creating the missing View from scratch.
Unless there is some esoteric way that involves use of Entities to display a list of Groups, something got lost along the way, amigo.
HTH.
-St.Ego
Comment #11
Cookie.Monster CreditAttribution: Cookie.Monster commentedNew to Drupal and just came across this issue myself. Thanks St.Ego for the good explanation.
Is there anyway to be able to create these views with this missing? I need to be able to list all groups (whether or not you're a member) and list all groups you are a member of.
Comment #12
dprats CreditAttribution: dprats commentedI've the same problem :(
The view OG list don't appears, and the relations around Group don't.
I've reinstalled the OG 7.x-2.0-rc3
Some solution? Some idea?
Thanks in advance.
Comment #13
Cookie.Monster CreditAttribution: Cookie.Monster commentedComment #14
Cookie.Monster CreditAttribution: Cookie.Monster commentedI looked around some more and it seems the pre-existing view "OG User groups" provides a list of groups of which a person is a member. And I believe that is what OG-list was doing?
Edit: sorry, I think OG-list was providing the overall list of groups which is what I need and am having problems creating
Comment #15
Cookie.Monster CreditAttribution: Cookie.Monster commentedComment #16
Anonymous (not verified) CreditAttribution: Anonymous commentedInstall the Organic groups views module (og_views) and you can easily produce a view to replicate the OG-list.
Comment #17
mark_owsky CreditAttribution: mark_owsky commentedThere is module http://drupal.org/project/og_extras that provides the view called groups, which can be treated as a substitute for og-list. I hope it helped.
Comment #18
pgustavo_raul CreditAttribution: pgustavo_raul commentedAvrilev Hello, I og_extras problem solving, this module provides a view called OG Groups Extras , clone the view and set the title field to solve a problem. I hope you serve something.
Comment #19
Cookie.Monster CreditAttribution: Cookie.Monster commentedI ended up creating a View Content Pane that filters on Content (mine is Published, Type = Group, Published or admin) and then I created a Panel that displays this view. Once I understood views and panels better after using them for more than a couple hours, it wasn't difficult to create this in the end. Let me know if anyone needs more detail.
Comment #20
JeniferTucker CreditAttribution: JeniferTucker commentedLike many, I have found there is no support documentation for OG 7.x-2.x and found myself following tutorials for an older version of OG. I too was looking for a list of all groups and followed #19.
The fields I chose to display as a table are:
Content: Title (Title)
Content: Group visibility (Group visibility)
Content: Post date (Post date)
Filter criteria:
Content: Published (Yes)
Content: Type (= Group)
Hope this helps someone get off the ground by sharing an export of my own view for creating their own list of groups.
Comment #21
amitaibu@JeniferTucker , If you'll roll a patch with that View the community will be happy :)
Comment #22
Marius Andresen CreditAttribution: Marius Andresen commentedHello everyone,
I'm working on an upgrade from Drupal 6 to 7 and facing the same problem. I've got two local virtual servers that contain two different drupal 7 versions - one with og 7.x-2.2 and one with 7.x-1.5. In the older version it works and the export function presents me the following:
$view = new view();
$view->name = 'og_list';
$view->description = 'Show active groups that are nodes';
$view->tag = 'og';
$view->base_table = 'node';
$view->human_name = 'OG list';
$view->core = 0;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Defaults */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->display->display_options['title'] = 'Groups list';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['use_more_text'] = 'mehr';
$handler->display->display_options['access']['type'] = 'none';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['exposed_form']['options']['submit_button'] = 'Anwenden';
$handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Zurücksetzen';
$handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Sortieren nach';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Beiträge pro Seite';
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Alles -';
$handler->display->display_options['pager']['options']['tags']['first'] = '« erste Seite';
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ vorherige Seite';
$handler->display->display_options['pager']['options']['tags']['next'] = 'nächste Seite ›';
$handler->display->display_options['pager']['options']['tags']['last'] = 'letzte Seite »';
$handler->display->display_options['style_plugin'] = 'table';
$handler->display->display_options['style_options']['columns'] = array(
'title' => 'title',
'created' => 'created',
);
$handler->display->display_options['style_options']['default'] = 'title';
$handler->display->display_options['style_options']['info'] = array(
'title' => array(
'sortable' => 1,
'align' => '',
'separator' => '',
),
'created' => array(
'sortable' => 0,
'align' => '',
'separator' => '',
),
);
/* Beziehung: OG group: OG group from Beitrag */
$handler->display->display_options['relationships']['og_rel']['id'] = 'og_rel';
$handler->display->display_options['relationships']['og_rel']['table'] = 'node';
$handler->display->display_options['relationships']['og_rel']['field'] = 'og_rel';
/* Feld: Inhalt: Titel */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
/* Feld: OG group: Created */
$handler->display->display_options['fields']['created']['id'] = 'created';
$handler->display->display_options['fields']['created']['table'] = 'og';
$handler->display->display_options['fields']['created']['field'] = 'created';
$handler->display->display_options['fields']['created']['relationship'] = 'og_rel';
$handler->display->display_options['fields']['created']['label'] = 'Since';
$handler->display->display_options['fields']['created']['date_format'] = 'time ago';
/* Filter criterion: OG group: State */
$handler->display->display_options['filters']['state']['id'] = 'state';
$handler->display->display_options['filters']['state']['table'] = 'og';
$handler->display->display_options['filters']['state']['field'] = 'state';
$handler->display->display_options['filters']['state']['relationship'] = 'og_rel';
$handler->display->display_options['filters']['state']['value'] = array(
1 => '1',
);
$handler->display->display_options['filters']['state']['expose']['label'] = 'Group: Group\'s state';
$handler->display->display_options['filters']['state']['expose']['operator'] = 'state_op';
/* Display: Page */
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->display->display_options['path'] = 'group-list';
/* Display: Feed */
$handler = $view->new_display('feed', 'Feed', 'feed_1');
$handler->display->display_options['pager']['type'] = 'some';
$handler->display->display_options['style_plugin'] = 'rss';
$handler->display->display_options['row_plugin'] = 'node_rss';
$handler->display->display_options['path'] = 'group-list/feed';
$handler->display->display_options['displays'] = array(
'page_1' => 'page_1',
'default' => 0,
);
$translatables['og_list'] = array(
t('Defaults'),
t('Groups list'),
t('mehr'),
t('Anwenden'),
t('Zurücksetzen'),
t('Sortieren nach'),
t('Asc'),
t('Desc'),
t('Beiträge pro Seite'),
t('- Alles -'),
t('Offset'),
t('« erste Seite'),
t('‹ vorherige Seite'),
t('nächste Seite ›'),
t('letzte Seite »'),
t('node being the OG group'),
t('Titel'),
t('Since'),
t('Group: Group\'s state'),
t('Page'),
t('Feed'),
);
If I try updating to the newer version these errors occur:
Feld handler og.created is not available.
Filter criterion handler og.state is not available.
Beziehung handler node.og_rel is not available.
Feld handler og.created is not available.
Filter criterion handler og.state is not available.
Beziehung handler node.og_rel is not available.
Feld handler og.created is not available.
Filter criterion handler og.state is not available.
Beziehung handler node.og_rel is not available.
Unable to import view.
Mention that there are german translations.
Maybe this post will help you creating a patch
Sincerely
Marius Andresen
Comment #23
hodba CreditAttribution: hodba commentedHi everybody,
I created new view to replace the missing Group List view considering the group access control.
before importing this view you need to:
- install Organic groups module
- intsall Organic groups access control
- create a Group content type
- add add an visibility field to your og bundle, for more info see how to here
- add the visibility field to your Group content type
- import the following view
hope it will help you
Comment #24
hanksterr7 CreditAttribution: hanksterr7 commentedHi
Great collection of samples!
I want my group list to show private groups as well as public groups. In d6, there was a checkbox for "List in Groups directory" (although it indicated that if there group were private, the option would be disabled).
Do any of the above views allow private groups to show in the list (and offer a Subscribe link)?
The visibility of a group in the Groups List seems to be tied rather tightly to the default visibility of the Group's content. Would be nice if the two could be managed independently
Thanks
-- hanksterr7
Comment #25
juan_g CreditAttribution: juan_g commentedAccording to the book "The Definitive Guide to Drupal 7" (Chapter 5: Creating Community Web Sites with Organic Groups), the description of the OG List view was: "Show active groups that are nodes", that is a list of all groups.
The OG Extras module, mentioned in comments #17 and #18, provides a replacement (in admin/structure/views), the OG Extras Groups view ("A listing of all node groups") with the default path /groups.
From the og_extras project page:
"Extra functions, blocks, and views for Organic Groups 7.2. In particular, this module adds views and blocks needed by sites that are not using Panels, although it also may be useful to sites that do use Panels."
Comment #26
hanksterr7 CreditAttribution: hanksterr7 commentedHi @juan_g,
I assume your post was a follow-on to mine.
From what I can tell, the OG Extras views show og content nodes. I'm looking for a view that shows a list of groups (i.e. og nodes), where the groups in the view are a mix of both public and private groups. I don't think og extras helps with that
Comment #27
juan_g CreditAttribution: juan_g commentedAh, sorry, it was a reply to the general issue, one of the alternatives to OG List. It's a little similar to https://groups.drupal.org/groups but more basic, naturally.
Comment #28
juan_g CreditAttribution: juan_g commented@hanksterr7: I've tried a little bit, and in the list of groups from og_extras (OG Extras Groups view at e.g. example.com/groups after enabling the module) private groups (groups with the setting "Group visibility: Private - accessible only to group members") are listed only for members, as usual.
A possible solution for private groups to have a public list and private content is:
#2068425: public listing of private groups