Change logo in customerweb

Moderator: crythias

Post Reply
Nicsoft
Znuny newbie
Posts: 53
Joined: 12 Aug 2010, 14:58
Znuny Version: 2.4
Location: Stockholm
Contact:

Change logo in customerweb

Post by Nicsoft »

Hello,

I know this has been asked an answered before, but I don't get it to work so I post this question in order to, hopefully, get some help.

I have created my own custom theme that works perfectly well for the intended customer. What I want to do is to change the logo. I have already managed to change the customer namen.

It's the OTRS-logo in attached screenshot I want to change.

This is how I try to do it, but the only thing that happens is that hte "OTRS"-logo dissapears, my logo is not present.

This is the significant part of my CustomerHeader.dtl file.

Code: Select all

 <div id="Header">
    <h1 class="CompanyName"><a href="#">Severalnines</a></h1>
     <!-- dtl_block:HeaderLogo -->
   <tr>
     <td width="120" class="header"><img src="$Config{"Frontend::WebPath"}skins/Customer/default/img/severalnines_logo.png" /></td>
  </tr>

The file is indead located in /opt/otrs/var/httpd/htdocs/skins/Agent/default/img. But I printed the $Config{"Frontend::WebPath"} which equals "/otrs-web/" and it doesn't exist at all. Is this a configuration thing? If I change to the full path the logo is still not visible: /opt/otrs/var/httpd/htdocs/skins/Customer/default/img/severalnines_logo.png.

If I put the logo in /srv/www/htdocs/ and make a reference like http://localhost/severalnines_logo.png, then it works. But, of course, using a fixed link like that is not a good solution. Just using severalnines_logo.png doesn't work.

I'm using OpenSuse.

How come that my logo isn't presented on the page?

Thanks in advance!
You do not have the required permissions to view the files attached to this post.
Last edited by Nicsoft on 20 Jul 2011, 10:27, edited 5 times in total.
MichaelR
Znuny expert
Posts: 250
Joined: 12 Oct 2010, 01:35
Znuny Version: 3.0.9
Company: LRS Health

Re: Change logo in customerweb

Post by MichaelR »

Can you screen shot for me? Don't quite know which logo you are referring to
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks :)
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
Nicsoft
Znuny newbie
Posts: 53
Joined: 12 Aug 2010, 14:58
Znuny Version: 2.4
Location: Stockholm
Contact:

Re: Change logo in customerweb

Post by Nicsoft »

MichaelR wrote:Can you screen shot for me? Don't quite know which logo you are referring to
See my updated post, screenshot included. It's the OTRS-log I want to change.

Also, I printed the $Config{"Frontend::WebPath"} which equals "/otrs-web/" and it doesn't exist at all. If I change to the full path the logo is still not visible: /opt/otrs/var/httpd/htdocs/skins/Customer/default/img/severalnines_logo.png.
Nicsoft
Znuny newbie
Posts: 53
Joined: 12 Aug 2010, 14:58
Znuny Version: 2.4
Location: Stockholm
Contact:

Re: Change logo in customerweb

Post by Nicsoft »

I'm bouncing this one since I haven't solved it yet.

When doing view source I found the div where the log is (I guess). It has id="Logo". Nowhere can I find any other file having "Logo" in it. I was hoping that it would specify where the file is located that I should change.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Change logo in customerweb

Post by crythias »

if you had dropped the logo in the same directory as logo.png, why didn't you change the SysConfig?
Framework
Frontend::Customer
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Nicsoft
Znuny newbie
Posts: 53
Joined: 12 Aug 2010, 14:58
Znuny Version: 2.4
Location: Stockholm
Contact:

Re: Change logo in customerweb

Post by Nicsoft »

Thanks!
banjkeee
Znuny newbie
Posts: 1
Joined: 24 Aug 2011, 16:41
Znuny Version: 3.0
Real Name: Ryan Callahan

Re: Change logo in customerweb

Post by banjkeee »

what do i need to change in the SysConfig?
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Change logo in customerweb

Post by crythias »

If you dropped your logo in the same directory as the otrs logo, you'd merely have to change the filename in the logo section of the SysConfig as mentioned in my previous email.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Post Reply