We use OTRS exclusively in the Agent console and have created a custom logo to replace the default OTRS logo on the right side of the header (skins/Agent/default/img/logo_bg.png). The problem is that our logo is longer than the default one, and so gets cut off about midway through. How can we go about moving it around so the entire logo can be displayed?
We have done a search for custom logos and most of the information is only leading to how to initially put one into OTRS, not adjusting it once it's there. We have also checked the Developer's Manual but it guides the user into making a new custom skin for the page which does not seem necessary to shift an image presentation point.
Moving Custom Agent Logo
Moderator: crythias
-
- Znuny newbie
- Posts: 32
- Joined: 10 Nov 2011, 23:21
- Znuny Version: 3.2.1
- Real Name: Patrick
- Company: MAM
Moving Custom Agent Logo
OTRS 3.2.1
CentOs 5.7
MySQL
CentOs 5.7
MySQL
Re: Moving Custom Agent Logo
Hello,
Not sure what browser you use, but in Chrome you can use Inspect Element over the logo and play With the #Logo CSS Style and see what will work for your desired logo, the CSS class is located in 'otrs/var/httpd/htdocs/skins/Agent/default/css/Core.Header.css'. You should copy it to your own theme folder so it won’t get overwritten on update.
Hope this helps you out.
Daniel
Not sure what browser you use, but in Chrome you can use Inspect Element over the logo and play With the #Logo CSS Style and see what will work for your desired logo, the CSS class is located in 'otrs/var/httpd/htdocs/skins/Agent/default/css/Core.Header.css'. You should copy it to your own theme folder so it won’t get overwritten on update.
Hope this helps you out.
Daniel
-
- Znuny newbie
- Posts: 32
- Joined: 10 Nov 2011, 23:21
- Znuny Version: 3.2.1
- Real Name: Patrick
- Company: MAM
Re: Moving Custom Agent Logo
That looks like what I'm looking for, thank you!
OTRS 3.2.1
CentOs 5.7
MySQL
CentOs 5.7
MySQL
-
- Znuny newbie
- Posts: 32
- Joined: 10 Nov 2011, 23:21
- Znuny Version: 3.2.1
- Real Name: Patrick
- Company: MAM
Re: Moving Custom Agent Logo
As it turns out, that was where the code is located in v3.11 which we were running in our Dev environment. In the live environment we're still on 3.10 and that bit of code is nowhere to be found. We're still getting settled into OTRS and so do not want to run the upgrade to 3.11 on live just yet. Inspecting the element still reveals the #Header #Logo part that controls placement, but after doing full searches through the CSS files it seems that line of code isn't even in the system.
Any ideas?
Any ideas?
OTRS 3.2.1
CentOs 5.7
MySQL
CentOs 5.7
MySQL
Re: Moving Custom Agent Logo
In 3.0.11 (not sure about 3.1) the settings for the logo in the agent interface are located in sysconfig in Framework -> Frontend::Agent - AgentLogo. You can change the width/height to match that of your new logo.
The CSS or DTL files will contain placeholders for the values given in sysconfig for the logo, so searching through them for the text you see while inspecting the page won't turn anything up, as it is added at runtime by the system.
The CSS or DTL files will contain placeholders for the values given in sysconfig for the logo, so searching through them for the text you see while inspecting the page won't turn anything up, as it is added at runtime by the system.
Backend: OTRS 3.0.11 RedHat Enterprise Linux 6.2, Apache, MySQL with replication
Frontend: OTRS 3.0.11 RedHat Enterprise Linux 6.2 with SELinux, Apache SSL
Frontend: OTRS 3.0.11 RedHat Enterprise Linux 6.2 with SELinux, Apache SSL
-
- Znuny newbie
- Posts: 32
- Joined: 10 Nov 2011, 23:21
- Znuny Version: 3.2.1
- Real Name: Patrick
- Company: MAM
Re: Moving Custom Agent Logo
I don't know how we overlooked that CSL, but there it is! Thank you so much!
OTRS 3.2.1
CentOs 5.7
MySQL
CentOs 5.7
MySQL