Project

General

Profile

Add Company Logo to Banner

Added by Zac Costello almost 9 years ago

Hello,

I'm having alot of trouble finding how to add my company logo to the top banner.
I just built a Redmine 2.5.0 server with Ruby on Rails on a CentOS 6.7 VM.
I found this: [[http://www.redmine.org/projects/redmine/wiki/Howto_add_a_logo_to_your_Redmine_banner]]
However, it appears to be either out of date or incorrect. The instructions advise to edit the file at location: /opt/redmine/app/views/layouts/base.html.erb

...This base.html.erb file does not exist. In fact, when i cd /opt/redmine, and then run 'ls', the only files contained within redmine is 'files'. And that's it. Making these instructions worthless. Can someone shed some light on this? I just need to upload a jpg image for my company logo to display instead of the word "Redmine" at the top. I also need info on how to upload the image to my server, and where to store it. I've heard "public" is a good place to store it, but idk where that directory is either.

Please Help!


Replies (4)

RE: Add Company Logo to Banner - Added by Petr Pospisil almost 9 years ago

Hello,

have a look here - it shows how you can modify look of Redmine with Easy extension.

[link to commercial, split-licensed GPL plugin that is not compatible with a stock Redmine deployment removed]

I hope you find this useful.

Ondrej


Edit by Mischa The Evil:
Link was violating the Redmine Forum Code Of Conduct, see RE: Add Company Logo to Banner for the motivation].

RE: Add Company Logo to Banner - Added by Zac Costello almost 9 years ago

Thanks I'll check it out. I did end up finding the HTML file.
It was actually located: /var/www/redmine/app/views/layouts/base.html.erb
Instead of /opt as that previous doc described. So I have gotten my logo uploaded to the page, but now I just have to figure out how to get it resized and moved over to the right!

RE: Add Company Logo to Banner - Added by Dmitry Alifanov almost 9 years ago

I changed in my themes:
/public/themes/my_theme/stylesheets/application.css

#top-menu > ul > li:first-child a {
background-image: url(../images/my_logo.png);
background-repeat: no-repeat;
background-size: 35px;
background-position: 0px 50%;
margin-left: -15px;
}

RE: Add Company Logo to Banner - Added by Mischa The Evil almost 9 years ago

Petr Pospisil wrote:

Hello,

have a look here - it shows how you can modify look of Redmine with Easy extension.

[link to commercial, split-licensed GPL plugin that is not compatible with a stock Redmine deployment]

I hope you find this useful.

Ondrej

Hello Petr / Ondrej,

I noticed this response some days ago and have been contemplating about it since. After that time and some research I have come to the conclusion that your response is in violation with the Redmine Forum Code Of Conduct. See below for the details about why I came to this conclusion.


[Question]
  • The OP shows no interest in anything other than a stock Redmine, with some modifications (either via a core hack, a plugin or a theme)
  • The OP requests primarily some help in finding files referenced in a howto
[Response]
  • You are referring the OP to a commercial (€50-€100 the first for seemingly unlimited users and the other for upto 25 users, different names and prices according to different, authentic online stores), split-licensed GPL plugin which requires the also commercial (€399-490 for upto 25-30 users, different names and prices according to different, authentic online stores) and split-licensed GPL Easy Redmine extension - which AFAICT itself is a stock Redmine plugin - to make it what you call Easy Redmine.
[Conclusion]
  • Your response can not be considered helpful to the OP in any way
  • Your response is solely promoting commercial products, without even mentioning that they are commercial.
  • Your response is promoting a plugin which is not compatible with a stock Redmine deployment (the plugin needs the Easy Redmine extension to be available).

Hence, I will edit your response and delete the link to the advertised plugin.

In case you have any questions about this decision please open an issue about it.

Kind regards,

Mischa The Evil.

    (1-4/4)