Serve a page in Trac within an Iframe

Description

This plugin allows you to add a button to the main navigation bar and serve a page in the Trac template within an Iframe linking to the appropriate URL. This will work for any number of URLs specified in the proper format.

See also: MenusPlugin, NavAddPlugin.

Bugs/Feature Requests

Existing bugs and feature requests for TracTabPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TracTabPlugin from here using Subversion, or browse the source with Trac.

Example

The following trac.ini configuration will create 2 new tabs on the main navigation bar, one named Google and the other named My Blog, with the respective URLs and permissions (e.g. Google requires WIKI_VIEW, while MyBlog requires TRAC_ADMIN). The handlers for these items will be /tractab/Google and /tractab/My%20Blog.

[components]
tractab.*=enabled

[tractab]
names = Google, Edgewall
urls = http://www.google.com, http://trac.edgewall.org
perms = WIKI_VIEW, TRAC_ADMIN
  • Note: The perms parameter is optional, but if left unspecified, it requires TRAC_ADMIN permissions to view the tabs.

Recent Changes

[7468] by rjollos on 01/25/10 04:11:21

Updated documentation for display in TracIni

[7467] by rjollos on 01/25/10 04:07:50

Minor refactoring

[7466] by rjollos on 01/25/10 03:48:49

Use self.config.getlist rather than self.config.get. Fixes #6053

[7465] by rjollos on 01/25/10 03:36:48

Create no tabs if none are defined. Fixes #936

Author/Contributors

Author: bobbysmith007
Maintainer: rjollos
Contributors: