We would like to customise the customer skin based on the customer - at the most basic, we would like to change the logo depending on which customer has logged in to the customer portal.
How would this be achieved?
Solved: Customer-specific customer skin
Moderator: crythias
-
- Znuny expert
- Posts: 167
- Joined: 26 Jan 2011, 13:23
- Znuny Version: 3.0.7
- Real Name: Rod Behr
- Company: Impact
- Location: London, United Kingdom
- Contact:
Solved: Customer-specific customer skin
Last edited by RBehr on 13 Jul 2011, 17:59, edited 3 times in total.
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Customer-specific customer skin
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny expert
- Posts: 167
- Joined: 26 Jan 2011, 13:23
- Znuny Version: 3.0.7
- Real Name: Rod Behr
- Company: Impact
- Location: London, United Kingdom
- Contact:
Re: Customer-specific customer skin
Thanks, Crythias. That helped, and I have implemented it.
However, we have customers all belonging to a single Group (also a customer) So multiple individuals work for a single company, each is a customer that belongs to a Group.
Instead of creating a logo file for each individual called [CustomerID].png, I would like to expose the Group and assign the Group a .png file. So where I would use
I would prefer to use
How do I expose the Group? $Env{"UserGroupID"} obviously doesn't work.
Many thanks
However, we have customers all belonging to a single Group (also a customer) So multiple individuals work for a single company, each is a customer that belongs to a Group.
Instead of creating a logo file for each individual called [CustomerID].png, I would like to expose the Group and assign the Group a .png file. So where I would use
Code: Select all
$Config{"Frontend::WebPath"}/skins/Customer/default/img/customers/$Env{"UserCustomerID"}.PNG
Code: Select all
$Config{"Frontend::WebPath"}/skins/Customer/default/img/customers/$Env{"UserGroupID"}.PNG
Many thanks
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Customer-specific customer skin
You might want to read this: http://forums.otrs.org/viewtopic.php?f=60&t=7531 and consider having all of the same company using the same CustomerID. Group won't work because customers can be members of multiple groups.
Alternatively, you might use a javascript function to extract the domain from the CustomerID.
Alternatively, you might use a javascript function to extract the domain from the CustomerID.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny expert
- Posts: 167
- Joined: 26 Jan 2011, 13:23
- Znuny Version: 3.0.7
- Real Name: Rod Behr
- Company: Impact
- Location: London, United Kingdom
- Contact:
Re: Customer-specific customer skin
We had approached the CustomerID as a UID for each PERSON rather than the customer they word for. So the CustomerID need not be unique and could actually refer to our Customer Account number for the company whom the individual works for? That would certainly help. Is this the case?
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Customer-specific customer skin
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask