Adding custom tags
To add customized messages to notification plugin message fields:
Create
psntfsvc
.m4 in <instance>\design\custom\ , if it does not already exist.Add lines to the custom file in the following format:
!!!<MESSAGE_TAG> <text>
where <text> can include HTML code and M4 macros.
For example:
!!!SIMPLE_MESSAGE_TAG Have a <strong>good</strong> day. !!!TRANSLATABLE_MESSAGE CUSTOM_MACRO_1 CUSTOM_MACRO_2 CUSTOM_MACRO_3
To define text in multiple languages, create the < lang > - < locale > -language.kvg file for each supported language in <DESIGN>\custom\ if it does not already exist.
Edit the macro definitions as required, in the format:
"CUSTOM_MACRO_1" "" = { "text" = "This is the first line of the message" } "CUSTOM_MACRO_2" "" = { "text" = "... the second" } "CUSTOM_MACRO_3" "" = { "text" = "...and the third.<br>Signed, your company" }
In the relevant field in the Manage the system (PSA) module Configure notification plugins pages, type the corresponding tag beginning with !!! from
psntfsvc.m4
; for example, in Message to display to a non-compliant user for Set USERSTAT tag, type:!!!TRANSLATABLE_MESSAGE
Recompile and install your skin (*.z) files by running
make.bat
in the design directory.
See also
See the Altering text for more information.