Patch #7975

Hook for adding content to the side bar of Wiki page

Added by Andriy Lesyuk over 7 years ago. Updated over 1 year ago.

Status:NewStart date:2011-03-23
Priority:NormalDue date:
Assignee:-% Done:


Category:Hook requests
Target version:Candidate for next major release


I believe it can be useful to have an ability to add some content (e.g. Facebook Like button) to the side bar of a Wiki page.

Attached patch adds hook :view_wiki_show_sidebar_top to the app/views/wiki/_sidebar.rhtml.

~/app/views/wiki$ patch < _sidebar.rhtml.patch

_sidebar.rhtml.patch Magnifier - Redmine 1.0.5 (277 Bytes) Andriy Lesyuk, 2011-03-23 23:34

add_wiki_sidebar_hooks.patch Magnifier (631 Bytes) okkez _, 2017-08-24 02:44


#1 Updated by Etienne Massip about 7 years ago

  • Category set to Plugin API

#2 Updated by Go MAEDA almost 2 years ago

  • Category changed from Plugin API to Hook requests

#3 Updated by okkez _ over 1 year ago

I want to add some features to wiki sidebar via my plugin.
So I want to add hooks to extend wiki sidebar.

I attach a patch to add hooks to extend wiki sidebar.

This patch can be applied to 3.4-stable branch and current master HEAD.

#4 Updated by Go MAEDA over 1 year ago

  • Target version set to Candidate for next major release

I think it is reasonable to have a new hook :view_wiki_show_sidebar_bottom as well as the following existing hooks.

  • :view_issues_sidebar_issues_bottom
  • :view_issues_sidebar_planning_bottom
  • :view_issues_sidebar_queries_bottom
  • :view_projects_show_sidebar_bottom

Also available in: Atom PDF