Plugin Possibilities
Added by Marina Tarazanova about 16 years ago
Hello!
Is it possible through the plugin change the existing templates(views)?
I need to add a link just near the link "Statistics" and make it visible only for some user roles.
Is it possible? I've read the Plugin Tutorial, but there is nly about adding items to different menus.
Replies (1)
RE: Plugin Possibilities - Added by Eric Davis about 16 years ago
Marina Tarazanova wrote:
Hello!
Is it possible through the plugin change the existing templates(views)?
I need to add a link just near the link "Statistics" and make it visible only for some user roles.
Is it possible? I've read the Plugin Tutorial, but there is nly about adding items to different menus.
Yes, in the latest trunk version there are view hooks that a plugin can use to add HTML to specific pages in Redmine. I'm maintaining a current list of them in the wiki at Hooks. You can also see a discussion and the final implementation of them in issue #1677.
If you could open a feature request for adding a hook on the repository page, I can probably do it for you. Just put the following information into a new issue:
- Exactly what view it should be in
- What line (or close by)
- Any of the data you want passed to the hook (e.g.
@project
,user
...)
Eric