OTRS 3.3.10 - Custom Skin/Agent Logo Issue

Moderator: crythias

Locked
CardiacCat
Znuny newbie
Posts: 4
Joined: 16 Dec 2014, 00:17
Znuny Version: 3.3.10
Real Name: Tom

OTRS 3.3.10 - Custom Skin/Agent Logo Issue

Post by CardiacCat »

Hello,

Newbie here.

On a RedHat deployment of OTRS, I have worked out how to create a custom skin for the Agent pages, and have successfully changed css information. In my testing, I have been able to change the colors of sections (header, main body, etc.) but have yet to get a new custom logo to show up in the header.

I have tried many different things including:
(1) Defining Frontend::Agent in the CustomSkin.xml file I created to point to the URL of the new .png file
(2) Overiding the Core.Header.css file's #Logo subsection background tag to point to the new .png using a custom Core.Header.css within my skin
(3) Making a direct change to Frontend::Agent Agent Logo the SysConfig area of the Admin GUI pages

I know the path info to the new.png file is correct (no errors in logs). I have restarted httpd umpteen times, cleared out browser cache,
and even gone so far as to run the $OTRS_HOME/bin/otrs.RebuildConfig.pl file.

I should also note that when I look at the Page Source, the Logo div section of the page is blank.....literally : <div id="Logo"></div>

I must be missing something here. Are there sizing considerations for the image that could be in play ?

Any/all help is appreciated.

Cheers
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: OTRS 3.3.10 - Custom Skin/Agent Logo Issue

Post by eandrex »

Well, you can try this

Disable this option in your sysconfig

Code: Select all

 AgentLogo
you can find it in (Framework -> Frontend::Agent)

after that, in your CustomSkin css folder, open or create the file Core.Header.css

and then add

Code: Select all

#Logo {
    background: url(../img/logo_bg.png) no-repeat;
}
logo_bg.png should be located in your CustomSkin img folder(<otrs_home>/var/httpd/htdocs/skins/agent/CustomSkin/img)

and it should work.
CardiacCat
Znuny newbie
Posts: 4
Joined: 16 Dec 2014, 00:17
Znuny Version: 3.3.10
Real Name: Tom

Re: OTRS 3.3.10 - Custom Skin/Agent Logo Issue

Post by CardiacCat »

eandrex,

I tried your suggestions to no avail. The name of my .png can be whatever I want as long as my .css references it correctly, right ?

What does Disabling the AgentLogo option via SysConfig actually do ?
CardiacCat
Znuny newbie
Posts: 4
Joined: 16 Dec 2014, 00:17
Znuny Version: 3.3.10
Real Name: Tom

Re: OTRS 3.3.10 - Custom Skin/Agent Logo Issue

Post by CardiacCat »

I have managed to get the default logo to show back up (the one with subdued grey OTRS). I am definitely thinking it could be a sizing issue with my "new" logo.
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: OTRS 3.3.10 - Custom Skin/Agent Logo Issue

Post by eandrex »

CardiacCat wrote:eandrex,

I tried your suggestions to no avail. The name of my .png can be whatever I want as long as my .css references it correctly, right ?

What does Disabling the AgentLogo option via SysConfig actually do ?
1) yes.. it can have any name you want as long as you reference it in your css

2) If it is enabled, it overrides the .css rule

back on topic.. it is weird that it is not working for you. OTRS version? what are the dimensions of your logo?
CardiacCat
Znuny newbie
Posts: 4
Joined: 16 Dec 2014, 00:17
Znuny Version: 3.3.10
Real Name: Tom

Re: OTRS 3.3.10 - Custom Skin/Agent Logo Issue

Post by CardiacCat »

Per the thread title, OTRS Version is 3.3.10. The logo is much larger than the available space in the current header, so I may have to work with it.
Locked