Personalization

As described in the variables section the $user variable holds following properties out of the box (additional custom properties are also possible):
 
COMPANY
DEPARTMENT
FIRSTNAME
LASTNAME
FULLNAME (FIRSTNAME and LASTNAME)
PHONE
FAX
MOBILE
WEBSITE
PROFILEPICTURE
EMAIL
TIMEZONE
WEEKSTART
DATEFORMAT
TIMEFORMAT
 
It's possible to access these properties in the Template as follows: 
  1. Dear {$user.FULLNAME|default:"Sir or Madam"}

Personalization for editors

Editors can also make use of personalized content by altering the Smarty delimeter as follows. This comes in handy especially when sending out E-Mailings.
  1. // example salutation
  2. Dear [!$user.FULLNAME|default:'Sir or Madam'!]
  3.  
  4. // example if clause
  5. [!if $user.LASTNAME != ''!]
  6.    // do this
  7. [!/if!]