Project

General

Profile

PluginGoogleCalendar » History » Version 1

Eric Davis, 2008-03-13 06:59
Adding Jim Mulholland's plugin - http://www.redmine.org/boards/1/topics/show/72

1 1 Eric Davis
h1. PluginGoogleCalendar
2
3
4
A simple plugin to include Google Calendar iframe as a tab within Redmine projects.  The calendar timezone will be user dependent based off the timezone in your Redmine user account and defaulted to the timezone set in the <iframe> if the user does not have a timezone selected.
5
6
Currently, the only way to install is using Git and GitHub:
7
8
bq. URL: http://github.com/mully/redmine_google_calendar/tree/master
9
10
h2. To install from git: 
11
12
(Git Version < 1.5.3)
13
@$ cd {RAILS_ROOT}/vendor/plugins@
14
@$ git clone git://github.com/mully/redmine_google_calendar.git@
15
16
(Git Version >= 1.5.3 -- Because the "git-rails" gem uses Git Submodules introduced in ver. 1.5.3)
17
@$ sudo gem install git-rails@
18
@$ git-rails install git://github.com/mully/redmine_google_calendar.git@
19
20
21
h2. Plugin setup
22
23
# Install the plugin as described "here":http://www.redmine.org/wiki/redmine/Plugins (this plugin doesn't require migration).
24
# Go to "Admin -> Custom fields" and create a Project custom field of "long string" type, named 'Google Calendar IFrame' for example.
25
# Go to "Admin -> Information" to configure the Google Calendar plugin:
26
    * Project custom field 'Google Calendar IFrame': select the newly created custom field.
27
28
h2. Enabling Calendar at project level
29
30
Go To Your Google Calendar:
31
32
# Click on "Settings" in the upper left hand corner
33
# Click on the "Calendars" tab
34
# Select the calendar you want to use
35
# In the "Embed This Calendar" section, copy the entire <iframe> code from the text box
36
37
(If this is a private calendar, you will have to replace the "src" in the <iframe> with the HTML found by clicking the blue "HTML" block in the "Private Address" section on the same page.)
38
39
In your project in Redmine, go to "Project settings" :
40
41
# On the "Modules" tab, enable the module by checking "Google Calendar".
42
# On the "Information" tab, paste the <iframe> code that you have copied in your clipboard from Google next to the 'Google Calendar IFrame' project custom field you created in step 1.
43
44
After that, a new item named "Calendar" should show up in the project menu. Click on this item to see your Google Calendar.