Customer Skin erstellen

Hilfe zu OTRS Problemen aller Art
Post Reply
Jury
Znuny newbie
Posts: 7
Joined: 27 Jun 2016, 16:15
Znuny Version: 5.0.10

Customer Skin erstellen

Post by Jury »

Hallo liebe Leute

Hoffentlich kann mir hierbei jemand helfen. Ich versuche gerade einen neuen Skin für denn Customer zu erstellen.

http://doc.otrs.com/doc/manual/develope ... skins.html
Dies hat mir dabei geholfen denn Agent skin zu erstellen, was auch super Funktioniert. Leider finde ich keine Anleitung für die Customer skins.

Habe also alles versucht so zu erstellen wie beim Agent skin.
Das System scheint denn Skin zu erkennen, aber es werden keine css-cache files erstellt und somit funktioniert das ganze nicht. (siehe Screenshots).

Allerdings habe ich keine Ahnung ob mein XML File korrekt ist. Habe denn code einfach unten angefügt. Müsste ich dafür ein neues File erstellen?

Vielen Dank im voraus.

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="1.0" init="Changes">
    <ConfigItem Name="AgentLogo" Required="0" Valid="1">
        <Description Translatable="1">The logo shown in the header of the agent interface. The URL to the image must be a relative URL to the skin image directory.</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Agent</SubGroup>
        <Setting>
            <Hash>
                <Item Key="URL">skins/Agent/custom/img/TESTEX_Logo.PNG</Item>
                <Item Key="StyleTop">13px</Item>
                <Item Key="StyleRight">75px</Item>
                <Item Key="StyleHeight">67px</Item>
                <Item Key="StyleWidth">244px</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="Loader::Agent::Skin###100-custom" Required="0" Valid="1">
        <Description Translatable="1">Custom skin for the development manual.</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Agent</SubGroup>
        <Setting>
            <Hash>
                <Item Key="InternalName">custom</Item>
                <Item Key="VisibleName">custom</Item>
                <Item Key="Description">Custom skin for the development manual.</Item>
                <Item Key="HomePage">www.testex.com</Item>
            </Hash>
        </Setting>
    </ConfigItem>
    <ConfigItem Name="Loader::Customer::Skin###101-testexcustom" Required="0" Valid="1">
        <Description Translatable="1">Custom skin for Testex User</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Customer</SubGroup>
        <Setting>
            <Hash>
                <Item Key="InternalName">Testex custom</Item>
                <Item Key="VisibleName">Testex custom</Item>
                <Item Key="Description">Testex custom skin</Item>
                <Item Key="HomePage">www.testex.com</Item>
            </Hash>
        </Setting>
    </ConfigItem>
</otrs_config>
You do not have the required permissions to view the files attached to this post.
Jury
Znuny newbie
Posts: 7
Joined: 27 Jun 2016, 16:15
Znuny Version: 5.0.10

Re: Customer Skin erstellen

Post by Jury »

Habe das Problem entdeckt.

Code: Select all

<ConfigItem Name="Loader::Customer::Skin###101-testexcustom" Required="0" Valid="1">
        <Description Translatable="1">Custom skin for Testex User</Description>
        <Group>Framework</Group>
        <SubGroup>Frontend::Customer</SubGroup>
        <Setting>
            <Hash>
                <Item Key="InternalName">testexcustom</Item>
                <Item Key="VisibleName">Testex custom</Item>
                <Item Key="Description">Testex custom skin</Item>
                <Item Key="HomePage">www.testex.com</Item>
            </Hash>
        </Setting>
    </ConfigItem>
InternalName muss genau dem Ordnernamen entsprechen der sich unter $OTRS_HOME/var/httpd/htdocs/skins/Customer/ befindet.
Customer skin funktioniert nun.
Post Reply