Skip to content

Instantly share code, notes, and snippets.

@eyazi
Created Feb 13, 2018
Embed
What would you like to do?
OTRS 6 custom agent skin

OTRS 6 custom agent skin config file

  • Your files belong to var/httpd/htdocs/skins/Agent/YourSkinName/css & ../img
  • Your config file belongs to Kernel/Config/Files/XML/YourSkinName.xml
<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="2.0" init="Application">
<Setting Name="AgentLogoCustom###YourSkinName" Required="0" Valid="1">
<Description Translatable="1">The logo shown in the header of the agent interface for the skin "YourSkinName". See "AgentLogo" for further description.</Description>
<Navigation>Frontend::Agent</Navigation>
<Value>
<Hash>
<Item Key="URL">skins/Agent/YourSkinName/img/logo_bg.png</Item>
<Item Key="StyleTop">21px</Item>
<Item Key="StyleRight">29px</Item>
<Item Key="StyleHeight">55px</Item>
<Item Key="StyleWidth">230px</Item>
</Hash>
</Value>
</Setting>
<Setting Name="Loader::Agent::Skin###001-YourSkinName" Required="0" Valid="1">
<Description Translatable="1">YourSkinName description.</Description>
<Navigation>Frontend::Base::Loader</Navigation>
<Value>
<Hash>
<Item Key="InternalName">YourSkinName</Item>
<Item Key="VisibleName" Translatable="1">Your skin name</Item>
<Item Key="Description" Translatable="1">YourSkinName description.</Item>
<Item Key="HomePage">www.YourCompany.com</Item>
</Hash>
</Value>
</Setting>
</otrs_config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment