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.

AttachmentSize
og_calendar_5_plus_block.patch3.4 KB

#1

kaerast - February 7, 2007 - 23:22
Status:needs review» needs work

oops, this is generating an error message for anonymous users. Will investigate this.

#2

kaerast - February 7, 2007 - 23:45
Status:needs work» needs review

Patch version 2, fixes the user warning error for anonymous users.

AttachmentSize
og_calendar_5_plus_block_0.patch 3.42 KB

#3

skor - February 8, 2007 - 21:49

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

rfarrior - February 16, 2007 - 23:25

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

Darren Oh - February 20, 2007 - 01:16
Status:needs review» fixed

Fixed in CVS commit 57184.

#6

rfarrior - February 21, 2007 - 06:18

I installed the lastest 5.x build and the problem is corrected. OG Calendars is working fine for me in 5.x now.

#7

Anonymous - March 7, 2007 - 06:22
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.