Project

General

Profile

Sidebar in a plugin

Added by Diego Jesus almost 12 years ago

Hello,

I'm currently developing a redmine plugin and I'm trying to create a side bar in one of my views. I'm trying to use a <div id="sidebar"> but because redmine also creates a <div class="nosidebar"> the side bar won't show. How can I do this, or should I (re)create a sidebar on my own?

Thanks


Replies (1)

RE: Sidebar in a plugin - Added by Daniel Munn almost 12 years ago

You could inject into the sidebar:

<% content_for :sidebar do %>
  <% # do something here, maybe render a partial? %>
<% end %>

    (1-1/1)