PluginGoogleCalendar » History » Version 2
Jim Mulholland, 2008-03-17 16:38
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 | 2 | Jim Mulholland | <pre> |
14 | $ cd {RAILS_ROOT}/vendor/plugins |
||
15 | $ git clone git://github.com/mully/redmine_google_calendar.git |
||
16 | </pre> |
||
17 | 1 | Eric Davis | |
18 | (Git Version >= 1.5.3 -- Because the "git-rails" gem uses Git Submodules introduced in ver. 1.5.3) |
||
19 | 2 | Jim Mulholland | <pre> |
20 | $ sudo gem install git-rails |
||
21 | $ git-rails install git://github.com/mully/redmine_google_calendar.git |
||
22 | </pre> |
||
23 | 1 | Eric Davis | |
24 | |||
25 | h2. Plugin setup |
||
26 | |||
27 | 2 | Jim Mulholland | # Install the tzinfo gem if it does not already exist on your server: <pre>$ sudo gem install tzinfo</pre> |
28 | 1 | Eric Davis | # Install the plugin as described "here":http://www.redmine.org/wiki/redmine/Plugins (this plugin doesn't require migration). |
29 | # Go to "Admin -> Custom fields" and create a Project custom field of "long string" type, named 'Google Calendar IFrame' for example. |
||
30 | # Go to "Admin -> Information" to configure the Google Calendar plugin: |
||
31 | * Project custom field 'Google Calendar IFrame': select the newly created custom field. |
||
32 | |||
33 | h2. Enabling Calendar at project level |
||
34 | |||
35 | Go To Your Google Calendar: |
||
36 | |||
37 | # Click on "Settings" in the upper left hand corner |
||
38 | # Click on the "Calendars" tab |
||
39 | # Select the calendar you want to use |
||
40 | # In the "Embed This Calendar" section, copy the entire <iframe> code from the text box |
||
41 | |||
42 | (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.) |
||
43 | |||
44 | In your project in Redmine, go to "Project settings" : |
||
45 | |||
46 | # On the "Modules" tab, enable the module by checking "Google Calendar". |
||
47 | # 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. |
||
48 | |||
49 | After that, a new item named "Calendar" should show up in the project menu. Click on this item to see your Google Calendar. |