Project

General

Profile

Actions

Patch #7975

closed

Hook for adding content to the side bar of Wiki page

Added by Andriy Lesyuk almost 13 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hook requests
Target version:
Start date:
2011-03-23
Due date:
% Done:

0%

Estimated time:

Description

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

Files

_sidebar.rhtml.patch (277 Bytes) _sidebar.rhtml.patch Redmine 1.0.5 Andriy Lesyuk, 2011-03-23 23:34
add_wiki_sidebar_hooks.patch (631 Bytes) add_wiki_sidebar_hooks.patch okkez _, 2017-08-24 02:44
Actions #1

Updated by Etienne Massip over 12 years ago

  • Category set to Plugin API
Actions #2

Updated by Go MAEDA about 7 years ago

  • Category changed from Plugin API to Hook requests
Actions #3

Updated by okkez _ over 6 years 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.

Actions #4

Updated by Go MAEDA over 6 years 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
Actions #5

Updated by Go MAEDA about 5 years ago

  • Target version changed from Candidate for next major release to 4.1.0

Since there is no '.*_sideber_.*bottom' hook, I suggest adding only :view_wiki_show_sidebar_bottom.

Actions #6

Updated by Go MAEDA almost 5 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Added :view_wiki_show_sidebar_bottom in r18117. Thank you all for your contribution.

Actions

Also available in: Atom PDF