Project

General

Profile

Howto add a logo to your Redmine banner » History » Revision 6

Revision 5 (Carl Clark, 2010-11-23 09:51) → Revision 6/39 (Mischa The Evil, 2010-11-23 10:54)

h1. HowTo add a logo The Leanspa With Acai Diet has the capability of delivering benefits to your Redmine banner 

 You can very easily add a logo to your Redmine banner by modifying your base.rhtml file. 
 Big thanks to "Chris Miller":/users/758 aspire for showing me how but it will not carry the burden of shedding those unwanted pounds alone. However, this product is set to accomplish this :) 

 Note: This has been tested using be a potential major player in the Squeejee Theme health and the Classic Theme. 

 *Edit your base.rhtml file* 

 Example:<pre> fitness genre. 
 nano /opt/redmine/app/views/layouts/base.rhtml</pre> 

 Find this line:<pre> 
     <h1><%= page_header_title %></h1></pre> 

 And change it to:<pre> 
      <!--<h1><%= page_header_title %></h1>--></pre> 

 Add this line directly below:<pre> 
      <img src="/images/logo.png" style="top-margin: 15px; left-margin: 15px;"/></pre> 

 Now it should look like this:<pre> 
     </div> 

      <!--<h1><%= page_header_title %></h1>--> 
      <img src="/images/logo.png" style="top-margin: 15px; left-margin: 15px;"/> 

     <% if display_main_menu?(@project) %></pre> 

 *Upload your logo* 

 Example using the scp command:<pre> 
 scp logo.png root@example.com:/opt/redmine/public/images</pre> 

 You probably should chown the uploaded logo:<pre> 
 chown redmine:redmine /opt/redmine/public/images/logo.png</pre> 

 *Restart your web server* 

 Examples:<pre>/etc/init.d/apache2 restart</pre><pre>/etc/init.d/httpd restart</pre><pre>/etc/init.d/nginx restart</pre> http://www.healthproductreviewers.com/leanspa-acai-reviews.html