Block view
kaerast - February 7, 2007 - 22:45
| Project: | OG Calendar |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Attached is a patch file which updates the module to work with Drupal 5.x and which creates a block to display events from the current group.
The port to Drupal 5.x is simply an addition of a .info file, which is why I didn't bother separating this into two separate issues.
| Attachment | Size |
|---|---|
| og_calendar_5_plus_block.patch | 3.4 KB |

#1
oops, this is generating an error message for anonymous users. Will investigate this.
#2
Patch version 2, fixes the user warning error for anonymous users.
#3
Applied the patch, and the block appears in my Block admin page. The setting appears to But doesn't show up even when logged in as the admin user. Very possibly not a problem with your patch though, since I also can't see any group events on the group calendar, and that was happening before I used your patch. I've submitted a support request, so when I get that problem cleared, I'll check back in and let you know.
#4
I upgraded my og_calendar.module with the 2nd version of the patch. When I activate OG Calendar and attempt to create an event, I get the following error:
Fatal error: Cannot use string offset as an array in /home/assaultl/public_html/portal/includes/theme.inc on line 552
This problem does not occur with OG Calendar not installed.
#5
Fixed in CVS commit 57184.
#6
I installed the lastest 5.x build and the problem is corrected. OG Calendars is working fine for me in 5.x now.
#7