OTRS Custom Skin Error

Moderator: crythias

Post Reply
nltui
OTRS newbie
Posts: 19
Joined: 22 May 2015, 22:41
OTRS Version?: 4.0.8
Real Name: Neil Thackeray
Company: Beckman Institute University of Illinois

OTRS Custom Skin Error

Post by nltui » 13 Feb 2018, 23:14

I've been trying to create a new custom skin using what I found at: viewtopic.php?f=62&t=38326&p=155223&hil ... ns#p155223

For some reason the official documentation for OTRS 6 hasn't been updated to reflect what the aforementioned post says is needed.

The error message I get is:
ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-0 Perl: 5.16.3 OS: linux Time: Tue Feb 13 14:19:37 2018

Message: Old ConfigItem AgentLogoCustom###100-illinois detected in illinoisSkin.xml!

Traceback (942):
Module: Kernel::System::SysConfig::XML::SettingListParse Line: 147
Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2543
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 51
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
Module: /opt/otrs/bin/otrs.Console.pl Line: 38

ERROR: OTRS-otrs.Console.pl-Maint::Config::Rebuild-0 Perl: 5.16.3 OS: linux Time: Tue Feb 13 14:19:37 2018

Message: Old ConfigItem Loader::Agent::Skin###100-illinois detected in illinoisSkin.xml!

Traceback (942):
Module: Kernel::System::SysConfig::XML::SettingListParse Line: 147
Module: Kernel::System::SysConfig::ConfigurationXML2DB Line: 2543
Module: Kernel::System::Console::Command::Maint::Config::Rebuild::Run Line: 51
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
Module: /opt/otrs/bin/otrs.Console.pl Line: 38

My XML file for /opt/otrs/Kernel/Config/Files/illinoisSkin.xml:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="1.0" init="Changes">
    <ConfigItem Name="AgentLogoCustom###100-illinois" Required="0" Valid="0">
        <Description Translatable="1">The logo shown in the header of the agent interface for the skin "Illinois".\
</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Agent</SubGroup>
        <Setting>
            <Hash>
                <Item Key="URL">skins/Agent/beckman_custom/img/logo_bg_UI.png</Item>
                <Item Key="StyleTop">14px</Item>
                <Item Key="StyleRight">38px</Item>
                <Item Key="StyleHeight">85px</Item>
                <Item Key="StyleWidth">270px</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="Loader::Agent::Skin###100-illinois" Required="0" Valid="1">
        <Description Translatable="1">Custom skin for Illinois.</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Base::Loader</SubGroup>
        <Setting>
            <Hash>
                <Item Key="InternalName">illinois</Item>
                <Item Key="VisibleName" Translatable="1">Illinois</Item>
                <Item Key="Description" Translatable="1">Custom skin for Illinois.</Item>
                <Item Key="HomePage">foo.bar.com</Item>
            </Hash>
        </Setting>
    </ConfigItem>
</otrs_config>
My XML file for /opt/otrs/Kernel/Config/Files/XML/illinoisSkin.xml:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="2.0" init="Changes">
    <ConfigItem Name="AgentLogoCustom###100-illinois" Required="0" Valid="1">
        <Description Translatable="1">The logo shown in the header of the agent interface for the skin "Illinois".\
</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Agent</SubGroup>
        <Setting>
            <Hash>
                <Item Key="URL">skins/Agent/beckman_custom/img/logo_bg_UI.png</Item>
                <Item Key="StyleTop">14px</Item>
                <Item Key="StyleRight">38px</Item>
     <Item Key="StyleHeight">85px</Item>85px</Item>
     <Item Key="StyleWidth">270px</Item>70px</Item>
            </Hash>
 </Setting>etting>
    </ConfigItem>
    <ConfigItem Name="Loader::Agent::Skin###100-illinois" Required="0" Valid="1">
 <Description Translatable="1">Custom skin for Illinois.</Description>
 <Group>Framework</Group>/Group>
 <SubGroup>Frontend::Base::Loader</SubGroup>
 <Setting>
     <Hash> <Hash>
         <Item Key="InternalName">illinois</Item>
     <Item Key="VisibleName" Translatable="1">Illinois</Item>
     <Item Key="Description" Translatable="1">Custom skin for Illinois.</Item>
     <Item Key="HomePage">foo.bar.com</Item>
            </Hash>
 </Setting>
    </ConfigItem>
</otrs_config>
Path to the CSS: /opt/otrs/var/httpd/htdocs/skins/Agent/illinois/css

zzz
OTRS wizard
Posts: 189
Joined: 15 Dec 2016, 15:13
OTRS Version?: 3.x - 6.0.x
Real Name: Emin
Company: maxence business consulting GmbH
Contact:

Re: OTRS Custom Skin Error

Post by zzz » 14 Feb 2018, 00:59

Hello Neil,

that was the scheme of OTRS 6 beta.

I made a GitHub gist for you: https://gist.github.com/eyazi/501f70bbe ... 8bf3bfd5e0

Best regards
Emin

nltui
OTRS newbie
Posts: 19
Joined: 22 May 2015, 22:41
OTRS Version?: 4.0.8
Real Name: Neil Thackeray
Company: Beckman Institute University of Illinois

Re: OTRS Custom Skin Error

Post by nltui » 14 Feb 2018, 18:42

Excellent! That worked. I hope that OTRS updates their documentation soon.
Thanks.

Post Reply