The M4 files that generate the HTML, CSS, and *.Z pages are located in the DESIGN directory. You customize the P-Synch interface by creating and editing corresponding customization files in the design\custom directory. For example, the file nph-psf.m4, contains a tag sinclude(custom/nph-psf.m4), which applies the code contained in the customization file if it exists. If the customzation file does not exist, then the default code is used. Similarly, the global file header.m4 references customizations contained in custom\header.m4.
P-Synch is shipped with examples of all customization files that also include instructions on how to use them. The example files are located in the design\examples directory. To create and modify the customization files, you copy the corresponding file from the examples directory to the custom directory, so that the customization file can be used during generation of the *.Z files.
The relationship between the M4 files is shown in FIGURE: [DESIGN-DIRECTORIES]
Files in the custom directory will not be overwritten when you upgrade P-Synch. All other M4 files, including those in the examples directory, will be overwritten, and new skins (including HTML pages, *.z files, and CSS files will be automatically generated.
| Note: |
|
The file MD5SUMS.TXT is included in the P-Synch design directory. This file is used during upgrades to detect changes that you may have made to the m4 files that may conflict with P-Synch changes. Do not delete this file.
Note the following when editing the M4 files:
The following subsections describe the steps required to customize the P-Synch GUI files.
An example URL is:
http://psynch.com/psynch/nph-psf.exe?css=http://portal/group1.css
You can use the CUSTOM\STYLE.M4 file as a basis for custom style sheets. The CSS style sheet can be placed in any directory accessible by a web browser. Once specified, the style sheet will be applied to all P-Synch HTML pages during the same session.
In cases where you define text that users see, you can add custom tags that the CGI program replaces with text in either English, French, or another language that you have added. For example, when you add a pre-defined question set (Section HERE), you add questions that users can select from.
To have locally defined text appear in the language of the user:
!!!NEW_QUESTION
in the Question field on the Question definition information page.
EN_US([[NEW_QUESTION]], [[Date of birth]])
FR_CA([[NEW_QUESTION]], [[Date de naissance]])
| Note: |
|
If you have English, French, and Dutch language users, and you want to modify text in forms or GUI screens, ensure that you edit each language version of a macro.
You modify text in multiple languages by editing macro definitions in the CUSTOM\ERRMSG.M4 and CUSTOM\LANGUAGE.M4 files. These files override or expand upon the human readable text, defined in ERRMSG.M4 and LANGUAGE.M4, that the end-user will see.
To modify multi-language text macros:
EN_US([[__ENTER__]],[[Enter])
FR_CA([[__ENTER__]],[[Entrer]])
EN_US([[__ENTER__]],[[Go])
FR_CA([[__ENTER__]],[[Marche]])
You can create screens that use another language besides English, French, and Dutch by editing the CUSTOM\LANGDEFS.M4, CUSTOM\ERRMSG.M4, and CUSTOM\LANGUAGE.M4 files. These files override or expand upon the human readable text, defined in ERRMSG.M4 and LANGUAGE.M4 that the end-user will see.
Each macro is defined in English, French, and Dutch. To add more languages, copy macros from the LANGDEFS.M4, ERRMSG.M4, and LANGUAGE.M4 files to the corresponding customization files and provide definitions and appropriate translations.
For example, to add Spanish language text:
EN_US([[__YES__]], [[Yes]]) to read:
ES_ES([[__YES__]], [[Sí]])
To change the appearance of any page in the application:
See Section HERE to learn how to add multi-language custom tags for locally defined text.
You can add a CGI plug-in to add functionality beyond password management to the help desk or self-service components in P-Synch, as documented in Section HERE.
By default, the input fields and buttons related to new functions appear below the password reset fields in the Help user or Reset my passwords screens.
You can move the new input elements around the page using the same technique (editing M4 files, and compiling *.Z files) described in Section HERE. The key in this case is to move the %EXTERNAL_HTML% element in the appropriate HTML form.
| P-Synch® is a password management solution developed by M-Tech. Note: This document is intentionally obsolete to limit the release of proprietary information to competitors. For full and current documentation contact your sales representative | ||||
|
|
||||