Different login pages for customer's

Moderator: crythias

Locked
zoom
Znuny newbie
Posts: 4
Joined: 12 Sep 2014, 13:22
Znuny Version: 3.3.8

Different login pages for customer's

Post by zoom »

Hi

We do have many distributors and we have a common OTRS tool and Database, we want our distrubutors to use a different url with different customer.pl page with their own logo, and alos we need to hide some dynamic fields for the different distributors.

Is this possbile to do with different customer login page with their logo.

Please anyone help me with this.

Thanks
Siva
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Different login pages for customer's

Post by RStraub »

From the SysConfig (Framework -> Core) it reads under "DefaultTheme::HostBased":

Code: Select all

It is possible to configure different themes, for example to distinguish between agents and customers, to be used on a per-domain basis within the application. Using a regular expression (regex), you can configure a Key/Content pair to match a domain. The value in "Key" should match the domain, and the value in "Content" should be a valid theme on your system. Please see the example entries for the proper form of the regex.
Is that what you're looking for ?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
zoom
Znuny newbie
Posts: 4
Joined: 12 Sep 2014, 13:22
Znuny Version: 3.3.8

Re: Different login pages for customer's

Post by zoom »

Hi RStraub,

I think yes, I have enabled now, but now it shows

Key: host1\.example\.com and host2\.example\.com

Content: SomeTheme1 and SomeTheme2

but our is like http://dv-db/otrs/customer.pl

Help me how to do this
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Different login pages for customer's

Post by RStraub »

Right.

First make sure you know the difference between skins and themes (as both can be configured to be host based).

Then create said skins and/or themes.

Then the last part - where I'm only guessing - create the domains you want in the apache-config and forward to your otrs. Build the regexp in the SysConfig reflecting those domains and set the value.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
zoom
Znuny newbie
Posts: 4
Joined: 12 Sep 2014, 13:22
Znuny Version: 3.3.8

Re: Different login pages for customer's

Post by zoom »

Thanks a lot, and how to build regexp in sysconfig
Locked