Different login pages for customer with own logo and name.

Moderator: crythias

Locked
kiranlkotkar
Znuny newbie
Posts: 24
Joined: 05 Aug 2014, 13:51
Znuny Version: 3.3.8
Real Name: Kiran Kotkar
Company: Systems Plus

Different login pages for customer with own logo and name.

Post by kiranlkotkar »

Hi everyone!
We are 3 companies but we have a common OTRS tool with a common Database and we want our customers to see a different url company name, logo when they are on login page. Is it possible? Thank you for your time
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Different login pages for customer with own logo and nam

Post by reneeb »

You could define hostbased skins and themes:

Loader::Customer::SelectedSkin::HostBased
DefaultTheme::HostBased
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
kiranlkotkar
Znuny newbie
Posts: 24
Joined: 05 Aug 2014, 13:51
Znuny Version: 3.3.8
Real Name: Kiran Kotkar
Company: Systems Plus

Re: Different login pages for customer with own logo and nam

Post by kiranlkotkar »

Thanks for your suggestion!

I have tried the suggested steps, and it's seems working but the thing is..

I have configured skin with below config but still the logo is reflecting from "Core.Default.css" file not from "/opt/otrs/Kernel/Config/Files/EionetSkin.xml"

And as well I could not found the code where I can mention the company name in .xml or .css file, would you please elaborate it more or please share reference URL.

Here is my ""/opt/otrs/Kernel/Config/Files/EionetSkin.xml"" file. Would you please let me know what things I am missing..?

For more clarification here with attached config of my otrs too.

<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="1.0" init="Framework">
<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/eionet/img/top_graphic.gif</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-eionet" Required="0" Valid="1">
<Description Translatable="1">Eionet skin</Description>
<Group>Framework</Group>
<SubGroup>Frontend::Agent</SubGroup>
<Setting>
<Hash>
<Item Key="InternalName">eionet</Item>
<Item Key="VisibleName">Eionet</Item>
<Item Key="Description">Eionet skin</Item>
<Item Key="HomePage">https://helptest.eionet.europa.eu</Item>
</Hash>
</Setting>
</ConfigItem>
<ConfigItem Name="CustomerLogo" Required="0" Valid="1">
<Description Translatable="1">The logo shown in the header of the customer interface. The URL to the image can be a relative URL to the skin image directory, or a full URL to a remote web server.</Description>
<Group>Framework</Group>
<SubGroup>Frontend::Customer</SubGroup>
<Setting>
<Hash>
<Item Key="URL">skins/Customer/eionet/img/my-logo.png</Item>
<Item Key="StyleTop">2px</Item>
<Item Key="StyleRight">25px</Item>
<Item Key="StyleHeight">50px</Item>
<Item Key="StyleWidth">135px</Item>
</Hash>
</Setting>
</ConfigItem>
You do not have the required permissions to view the files attached to this post.
kiranlkotkar
Znuny newbie
Posts: 24
Joined: 05 Aug 2014, 13:51
Znuny Version: 3.3.8
Real Name: Kiran Kotkar
Company: Systems Plus

Re: Different login pages for customer with own logo and nam

Post by kiranlkotkar »

Hi Reneeb,

Do you have any idea or any clue what things are remain to do as of now I have done the following thing but still it not working.

1) configured customer.pl Apache virtualhost (a. xyz.example.com b.abc.example.com )
2) Created Custom skins and theme.
3) defined hostbased skins and themes
I) Loader::Customer::SelectedSkin::HostBased
II) DefaultTheme::HostBased
Locked