PluginTab

Version 2 (Mischa The Evil, 2009-08-08 23:29)

1 1 Mischa The Evil
h1. Tab plugin
2 1 Mischa The Evil
3 1 Mischa The Evil
{{>toc}}
4 1 Mischa The Evil
5 1 Mischa The Evil
A Redmine plugin which adds new Redmine tabs to embed content from an iframe on a per-project and system-wide base.
6 1 Mischa The Evil
7 1 Mischa The Evil
h2. Author
8 1 Mischa The Evil
9 1 Mischa The Evil
* James Turnbull
10 1 Mischa The Evil
11 1 Mischa The Evil
h2. Latest release
12 1 Mischa The Evil
13 2 Mischa The Evil
The currently available, latest release of the plugin is version *0.3.1*.
14 1 Mischa The Evil
15 1 Mischa The Evil
h2. Changelog
16 1 Mischa The Evil
17 1 Mischa The Evil
For the complete changelog see the @CHANGELOG@-file in the Tab plugin directory.
18 1 Mischa The Evil
19 1 Mischa The Evil
h2. Description
20 1 Mischa The Evil
21 1 Mischa The Evil
The Tab plugin is a Redmine plugin which provides the ability to create a new Redmine tab, to embed content from an iframe, on a per-project base. This is done by storing the iframe-snippet in a project custom field.
22 1 Mischa The Evil
It also provides the ability to add a new, system-wide top menu tab. The iframe-source for that tab can be configured in the plugin settings.
23 1 Mischa The Evil
24 1 Mischa The Evil
Besides these two features it also allows you to modify the actual tab and link names, without changing the source of the plugin, in the plugin settings.
25 1 Mischa The Evil
26 1 Mischa The Evil
h2. Compatibility
27 1 Mischa The Evil
28 2 Mischa The Evil
This plugin is compatible with both Redmine 0.8.x and Redmine trunk.
29 1 Mischa The Evil
30 1 Mischa The Evil
h2. Obtaining 
31 1 Mischa The Evil
32 1 Mischa The Evil
bq. URL of the GitHub repository: http://github.com/jamtur01/redmine_tab/tree/master
33 1 Mischa The Evil
34 1 Mischa The Evil
The source of this plugin can be "cloned" from the GitHub-repo using:<pre>
35 1 Mischa The Evil
$ cd {RAILS_ROOT}/vendor/plugins
36 1 Mischa The Evil
$ git clone git://github.com/jamtur01/redmine_tab.git
37 1 Mischa The Evil
</pre>
38 1 Mischa The Evil
39 1 Mischa The Evil
h2. Installation
40 1 Mischa The Evil
41 1 Mischa The Evil
# Download the plugin from the available source (see "[[PluginTab#Obtaining|obtaining]]")
42 1 Mischa The Evil
# Install the plugin as described at: http://www.redmine.org/wiki/redmine/Plugins (this plugin does not require a plugin database migration)
43 1 Mischa The Evil
# Restart Redmine
44 1 Mischa The Evil
45 1 Mischa The Evil
h2. Setup
46 1 Mischa The Evil
47 1 Mischa The Evil
h3. Project-specific tabs
48 1 Mischa The Evil
49 1 Mischa The Evil
This plugin creates a project-menu tab in which you can embed an iframe. You can globally configure the name of the tab in the Plugins -> Tab Plugin configuration options, under "Project Specific -> Tab Name" (default is "Tab Name").
50 1 Mischa The Evil
The iframe-sources for the individual projects can be configured on a per-project base using the value of a pre-configured project custom field (configured under "Project Specific -> Tab Text" (default is "none").
51 1 Mischa The Evil
52 1 Mischa The Evil
# You need to go to 'Admin -> Custom fields -> Project' and create a field of the type 'Long text' to hold the iframe link.
53 1 Mischa The Evil
# Select the project custom field you've created in the plugin configuration, by going to Plugins -> Tab Plugin configuration options, under "Project Specific -> Tab Text".
54 1 Mischa The Evil
# Inside your project you will need to add your iframe-link as the value of the project custom field you've selected. For example to embed Google: <pre><iframe src="http://www.google.com/" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe></pre>
55 1 Mischa The Evil
# Then use the project's Modules tab to enable the Tab module for the project; go to the preferred Redmine project -> "Project settings":
56 1 Mischa The Evil
** On the "Modules" tab: enable the plugin-module by checking "Tab".
57 1 Mischa The Evil
58 1 Mischa The Evil
After that, the new project menu item will show up in the project menu.
59 1 Mischa The Evil
60 1 Mischa The Evil
h3. System-wide tab (link)
61 1 Mischa The Evil
62 1 Mischa The Evil
The plugin also provides the ability to add a new, system-wide top-menu tab (link). You can globally configure the name of the tab in the Plugins -> Tab Plugin configuration options, under "System wide -> Tab Name" (default is "System Tab Name").
63 1 Mischa The Evil
The iframe-source for the new top menu link can be globally configured using the value of the plugin setting "System wide -> Tab Text" (default is "none").
64 1 Mischa The Evil
65 1 Mischa The Evil
h2. Upgrading
66 1 Mischa The Evil
67 1 Mischa The Evil
# Backup the currently deployed Tab plugin (@cp -r /vendor/plugins/redmine_tab /vendor/plugins/redmine_tab-backup@)
68 1 Mischa The Evil
# Reinstall the updated plugin:
69 1 Mischa The Evil
** using the command: @git pull@
70 1 Mischa The Evil
# Restart your Redmine
71 1 Mischa The Evil
72 1 Mischa The Evil
h2. Uninstalling
73 1 Mischa The Evil
74 1 Mischa The Evil
# Remove the directory _"redmine_tab"_ from the plugin-directory _"../vendor/plugins"_
75 1 Mischa The Evil
# Restart Redmine
76 1 Mischa The Evil
77 1 Mischa The Evil
h2. Support
78 1 Mischa The Evil
79 1 Mischa The Evil
If you would like to report a bug or request a new feature you can open a new issue at the issue-tracking section of the plugins' GitHub site: http://github.com/jamtur01/redmine_tab/issues.
80 1 Mischa The Evil
You can also post about the plugin in the dedicated plugin-section of the "Redmine forums":http://www.redmine.org/projects/redmine/boards/3.
81 1 Mischa The Evil
82 1 Mischa The Evil
As an alternative you can also join the @#redmine@ channel on the "freenode":http://freenode.net/irc_servers.shtml IRC network to see if there is anyone who can provide some support.
83 1 Mischa The Evil
84 2 Mischa The Evil
h2. Credits
85 2 Mischa The Evil
86 2 Mischa The Evil
* Mischa the Evil for extensive updates and refactoring
87 2 Mischa The Evil
* Eric Davis for numerous fixes and new features
88 2 Mischa The Evil
89 1 Mischa The Evil
h2. Licensing
90 1 Mischa The Evil
91 1 Mischa The Evil
This plugin is open-source and licensed under the "GNU General Public License v2":http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (GPL). See the included @COPYRIGHT.txt@ and @GPL.txt@ files for details.
92 1 Mischa The Evil
93 1 Mischa The Evil
* ©2009, James Turnbull (http://www.james-turnbull.net)