Customize conditions of use
- 27 Sep 2024
- 1 Minute to read
- Print
Customize conditions of use
- Updated on 27 Sep 2024
- 1 Minute to read
- Print
Article summary
Did you find this summary helpful?
Thank you for your feedback
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:
- Navigate to the configuration files on the server at: \GVServer2\www\gv2\gf\GFWebHtmlCustomer\
- 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.
- Open the config.json file in your folder with a text editor like Notepad++.
- Go to termsOfUse > customer.
- Change the value of path to the file path where you saved your conditions PDF file.
- 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:
- Open the customer-specific languages folder. Example path: 000xxx/languages/lang_en.json
- Open the desired language file. Example: lang_en.json
- In the file, change the value of GENERAL to your custom text.
- Save your changes and close the file.
"CMS": {
"NAVIGATION": {
"MENU": {
"TERMS_OF_USE": {
"CUSTOMER": {
"GENERAL": "Conditions of use - [NAME OF CUSTOMER]"
}
}
}
}
}