Customize conditions of use

Prev Next

By default, the system displays the Grassfish conditions of use. In addition, you can add your own conditions of use.

Requirements

Make sure you have saved your conditions of use as a PDF file.

Add custom conditions

To add custom conditions of use, you must edit the config.json file. To access the file, perform the following steps:

  1. Navigate to the configuration files on the server at: \GVServer2\www\gv2\gf\GFWebHtmlCustomer\
  2. Open one of the following folders:
    • 00000: edit configurations for the entire server, which means for all customers.
    • 000xxx: edit customer-specific settings. xxx is the customer ID.
  3. Open the config.json file in your folder with a text editor like Notepad++.  
  4. Go to termsOfUse > customer.
  5. Change the value of path to the file path where you saved your conditions PDF file.
  6. Save your changes and close the file.
{
  "cms": {
    "termsOfUse": {
      "customer": [
        {
           "key": "GENERAL",
           "path": "http://webhelp.grassfish.com/gv2/gf/help/AGB/AGB_Grassfish.pdf"
        }
          ],
      "grassfish": [
        {
           "key": "GENERAL",
           "path": "http://webhelp.grassfish.com/gv2/gf/help/AGB/AGB_Grassfish.pdf"
        }
          ]
        }
    }
}

Change the menu entry

To change the text that appears in the IXM Platform menu, perform the following steps:

  1. Open the customer-specific languages folder. Example path: 000xxx/languages/lang_en.json
  2. Open the desired language file. Example: lang_en.json
  3. In the file, change the value of GENERAL to your custom text.
  4. Save your changes and close the file.
"CMS": {
   "NAVIGATION": {
      "MENU": {
         "TERMS_OF_USE": {
            "CUSTOMER": {
               "GENERAL": "Conditions of use - [NAME OF CUSTOMER]"
                }
            }
         }
      }
   }