Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

The Display format option gives you the possibility to configure how names (firstname and lastname) of users and contacts are being shown in various places.

Administrator settings

Administration - System - System settings - Basic settings - Display format

Extensions will display the name according to DISPLAY_FORMAT possible placeholders are "(firstname)" and "(lastname)" and the name is created using sprintf. E.g. a DISPLAY_FORMAT %(firstname)1.1s %(lastname)s will result in sprintf("%1.1s %s",$firstname,$lastname. A placeholder can not be used more than once.

Example:

User First name: First

User Last name: Lastname

Display formatDisplay DE devices
%(firstname)1.1s %(lastname)sNumber F.LastName
%(firstname)s.%(lastname)0.0sNumber First.
%(firstname)s %(lastname)1.2sNumber First La
%(firstname)s, GigasetNumber First, Gigaset
GigasetNumber Gigaset
"invalid"Number ""

Important

The web-interface will not give an error if you enter a invalid display format. On the display of the devices only the internal number will be shown if this happens.

  • No labels