wiki:TracMyPagePlugin

Version 8 (modified by dgc, 5 years ago) (diff)

More potential gotchas with setup

TracMyPage

Description

Adds a navigation bar tab for 'My Page', a wiki page whose name is expanded from a template and your user ID.

TracMyPage works nicely with the TracUserPagePlugin.

Example

[components]
mypage.* = enabled

[mypage]
url = /wiki/u/%s 

This causes the 'My Page' tab for http://trac.example.com/ to yield a redirect to http://trac.example.com/wiki/u/admiralnelson when the user 'admiralnelson' is logged in and has the MYPAGE_VIEW permission.

Nota Bene

  • To see the My Page tab, a user must be logged in and have the MYPAGE_VIEW permission. To make My Page available to all users, grant MYPAGE_VIEW to the authenticated subject in Admin/Permissions.
  • This plugin does not introduce new components into the Trac environment; it is simply based on HTTP redirects. It does not create wiki pages on demand. Unless an administrator creates wiki pages for users, My Page pages will not exist the first time users click the tab. A first-time user will get a 'Describe u/admiralnelson here.' page instead. He will need to click Create this page to initialize it, so he will need WIKI_CREATE permission. This meets my needs, but automatic My Page creation would be a good feature to add.

Bugs/Feature Requests

Existing bugs and feature requests for TracMyPagePlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

Recent Changes

[13932] by rjollos on 2014-05-20 18:59:39
Added missing __init__.py. Fixes #11753.

Patch by agil.

[10452] by rjollos on 2011-07-12 08:00:09
Show plugin's svn revision on webadmin plugin panel.
[9517] by dgc on 2010-11-25 00:53:28
resolve #7920

Author/Contributors

Author: dgc
Contributors: