Using the Full Calendar and Organic Groups modules, if I create content "Event" and edit the content to have an Organic Group Audience and/or Group Visibility Field and select and save data in those fields, for non-admin users only the corresponding Event does not show up in my custom view using the Full Calendar display even if the Group Visibility is set to Public, and an error message is displayed above the calendar for each event with those characteristics (the error message reads as below). I get the same problem using the Parish Calendar plugin for Full Calendar. If I am logged in as an admin, I see all of the events and get no error messages. If I have events that have not Organic Group Audience set nor a Visibility Set, the Event shows up fine for non-admin users.
Notice: Undefined index: raw in fullcalendar_prepare_events() (line 242 of C:\...\sites\all\modules\fullcalendar\theme\theme.inc).
It seems effectively that I cannot use Organic Groups Audience or Visibility fields if I want events to be viewable from the calendar, however this is quite limiting. Any suggestions on how to proceed?
Thanks for any help here!
Comment | File | Size | Author |
---|---|---|---|
#3 | OG Groups field access.png | 42.16 KB | BillyClackers |
Comments
Comment #1
spledger CreditAttribution: spledger commentedI'm also having this issue. Has anyone been able to fix it??
I noticed that when I insert print_r($item); before line 242 in theme.inc, I get the following as just a regular site user:
Whereas when I do so as an administrator, I get this instead:
I hope this helps someone. I'll keep looking about.
Comment #2
ZetaTrooper CreditAttribution: ZetaTrooper commentedI ended up trying a different module, "Calendar" http://drupal.org/project/calendar , and it does not give me any problems with OG content types / visibilities.
Comment #3
BillyClackers CreditAttribution: BillyClackers commentedHi,
I had the exact same issue with OG and Fullcalendar.
I managed to fix this by editing the group field access permissions.
If you go to 'admin/config/group/permissions' - Make sure that members are allowed to see fields that you are displaying in the calendar. (ie the date field which you are using).
See the attached image.
This worked for me, hope that helps.
Comment #4
DrupalGarm CreditAttribution: DrupalGarm commentedJep, it works for me, too :) thx
Comment #4.0
DrupalGarm CreditAttribution: DrupalGarm commentedAdded additional information for greater usefulness and clarity.