Replace $Data{"UserLogin"} with [% Data.UserLogin %]
Kind regards, Renée Am 05.07.2016 um 10:43 schrieb Lars Jørgensen:
Hi, On OTRS 3 we had created an awful hack to show pictures of the customers in the ticket zoom view: [ 'UserLogin', 'Picture', 'sAMAccountName', 1, 1, 'var', '#"><img src="/pictures/$Data{"UserLogin"}.jpg"></a><a href="#', 0 ], It was done in the LDAP-configuration for CustomerUser in Config.pm where LDAP fields are mapped to OTRS fields. We've upgraded to the latest version 5 today (and, wow, OTRS looks great now!). It seems that $Data{"UserLogin"} no longer exists. Is there another way of doing the above? If possible, I would love a cleaner implementation, possibly using Dynamic Fields. --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
-- Perl / OTRS development: http://perl-services.de OTRS AddOn repository: http://opar.perl-services.de
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs