Skip to main content

Change the layout

You can modify the design of any Legacy web page, including the placement of fields, buttons and text by editing the appropriate M4 file. To do this:

  1. Find the source code that you want to edit .

    Create a custom M4 file in custom\.

    This file must have the same name as the original.

    If you copy a file from \<instance>\design\src\ to the custom\ directory, ensure that you remove the lines: include(initialize.m4) and sinclude(custom/<filename>.m4)

  2. Copy the lines starting from the tag definition up to, but not including, the next tag from the source file into the custom file. If the M4 file does not contain tags, then copy only the lines you want to change into the custom file.

    Files may also require an m4 define command; for example, define(‘PSFMODULE', ‘yes') . To customize header*.m4 and footer*.m4, you must copy the entire file to the custom directory. These files contain instructions on how to customize them.

  3. Modify the custom file to suit your needs.

  4. Save and close the file.

  5. Generate and install the new skin files .