wiki:TracTabPlugin

Serve a page in Trac within an Iframe

Notice: This plugin is unmaintained and available for adoption.

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.

Bugs/Feature Requests

Existing bugs and feature requests for TracTabPlugin are here.

If you have any issues, create a new ticket.

defect

7 / 8

enhancement

0 / 3

task

1 / 1

Download

Download the zipped source from here.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Configuration

The following trac.ini configuration will create 2 new tabs on the main navigation bar, one named Google and the other named Edgewall, with the respective URLs and permissions, for example Google requires WIKI_VIEW, while Edgewall 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 the TRAC_ADMIN permission to view the tabs.

Recent Changes

12716 by rjollos on 2013-03-13 14:25:53
Refs #5742: Refactored template.
12715 by rjollos on 2013-03-13 14:08:26

Refs #5742:

  • Moved import of resource_filename to its customary location within the ITemplateProvider method.
  • Organized imports.
  • Minor source code formatting changes.
  • Removed unused method.
12714 by rjollos on 2013-03-13 13:55:40

Refs #5742: Misc changes.

  • Modified entry point.
  • Added url to setup.py.
  • Added to setup.py:
    • license header
    • description and long description
    • project url
    • included "2-Clause" in license description
  • Formatted source code.
(more)

Author/Contributors

Author: bobbysmith007
Maintainer: none (needsadoption)
Contributors:

Last modified 6 years ago Last modified on Sep 1, 2018, 7:00:51 AM