Display name

Jan Kowalsky jankow at datenkollektiv.net
Thu Nov 12 17:25:17 CET 2015


Hi Paul,

Am 12.11.2015 um 15:52 schrieb Paul Bronson:
> Jan,
> 
> Okay, tried that... Now the display name field is blank. See attached.
> Doesn't seem to be generating anything now.
> 
> [image: Inline image 2][image: Inline image 1]

yes, you're right. I thought I had managed it - but i didn't. I just
made this field read-writeable. It seems to be hardcoded.

The only solution I found is to change the
kolab_api_service_form_value.php itself:

^^^^^^^^^^^^^^^^^^^^^^^^^^

---
usr/share/kolab-webadmin/lib/api/kolab_api_service_form_value.php.orig
2015-11-12 17:21:20.767217961 +0100
+++ usr/share/kolab-webadmin/lib/api/kolab_api_service_form_value.php
2015-11-12 17:21:31.958882966 +0100
@@ -461,7 +461,8 @@
             $sn          = trim($postdata['sn']);

             if ($sn) {
-                $displayname = $sn . ", " . $displayname;
+                $displayname = $displayname . " " . $sn;
+                // $displayname = $sn . ", " . $displayname;
             }

             // TODO: Figure out what may be sent as an additional comment;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Kind regards
Jan


More information about the users mailing list