Closed (fixed)
Project:
OG Calendar
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2007 at 23:57 UTC
Updated:
17 Apr 2007 at 02:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
darren ohThere is no way to do this at this time. If you rewrite the module to allow it, please post a patch here.
Comment #2
somebodysysop commentedBasically, all I did was copy and edit og_calendar_page to get the current month. Take a look. If it looks ok, then I'll create a patch. Thanks.
Comment #3
darren ohI think the reason OG Calendar was left this way was that there are no back and forward buttons to allow past and future months to be browsed. If your patch provides these and it works, I'll accept it.
Comment #4
somebodysysop commentedHere is the og_calendar patch with allows viewing of single month as well as previous/next month paging. It works for me. Please let me know what you think.
You call it like this: /og_calendar_curr/
Comment #5
darren ohComment #6
somebodysysop commentedThat's
/og_calendar_curr/$gid
Comment #7
darren ohThanks for your work. I redid the patch as a replacement for og_calendar_page(). I also started working on only displaying previous and next links when there are events in past or future months. Have a look and see if you can improve it.
Comment #8
darren ohI got it working well enough to be committed. Fixed in CVS commit 62858.
Comment #9
(not verified) commented