Personalized skin for each customer

Moderator: crythias

Post Reply
cferreira
Znuny newbie
Posts: 5
Joined: 23 Jun 2017, 16:55
Znuny Version: 5.06.01

Personalized skin for each customer

Post by cferreira »

I'm trying to follow the developer manual http://doc.otrs.com/doc/manual/develope ... id-1.3.5.6 to personalize for each of the hosted based customer a diferent skin and Logo for each.
I follow the manual step by step, i've activate the Loader::Customer::SelectedSkin::HostBased with the correspondent key and content ("custom").
Create an xml on the config directory and rebuild the config with otrs.Console.pl Maint::Config::Rebuild
<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="1.0" init="Changes">
<ConfigItem Name="CustomerLogo" 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::Customer</SubGroup>
<Setting>
<Hash>
<Item Key="URL">skins/Customer/custom/img/Another.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::Customer::Skin###100-custom" Required="0" Valid="1">
<Description Translatable="1">Custom skin for the development manual.</Description>
<Group>Framework</Group>
<SubGroup>Frontend::Customer</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.yourcompany.com</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
This doesn't work to me! Neather the background color appears on the hosted based. Is there any Guidance you can provide me to find a way to resolve?

I also try to use the host based for Themes and i am able to differ my Customers, but my problem here was not to be able/know to modify the <div id="Logo" > on the CustomerHeader.tt who presents the logo. If i put an <img> tag believe i will loose the responsive layout. So i would prefer to do it using skins if there is such possibility.

Cheers!
Post Reply