Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • message - (input). This is an object passed by Profound UI to your function containing the following fields:
    • date - The date the message was sent.
    • time - The time the message was sent.
    • msg - The message content.
    • jobName - The jobName of the user who sent the message.
    • jobUserName - The user name of the user who sent the message.
    • jobNum - The job number of the user who sent the message.
    • jobCurProfName - The Current Profile Name of the user who sent the message.
  • stringwrap - (output). This is an object that holds your formatted text. Profound UI looks for text in the following fields:
    • title - The message box's title text becomes the value of message.title.
    • body - The content of the message box becomes the value of message.body.

 

Default text formatting.:

Message title format: date time, Sender's Job Number / Sender's Job User Name / Sender's Job Name.

Body format: receiving username : message content.

 

Break Messaging is available with Profound UI version 5.4.0.

Example Custom Format

Override the default break message text format by defining pui.breakMessageFormat in a script in your Genie skin folder. If you are also using Rich Display files, you'll also need to define the function in your userdata/custom/js/ folder. For example, if your installation is named "profoundui", then you can define the function in /profoundui/userdata/custom/js/custom.js in your htdocs folder for Rich Display files. For Genie, the location would be /profoundui/userdata/genie skins/YourSkinName/custom.js.

...