Main configuration file - global settings
Example configuration file:
{
"OtrsUrl": "https://otrs.example.pl",
"Alias": "/forms/",
"ShowLangButton": true,
"LangButtonColor": "#333333",
"GlobalLang": "pl",
"RedirectButtons": [
{
"show": true,
"color": "#333333",
"label": "Moje zgłoszenia",
"redirectURL": "https://yahoo.pl"
},
{
"show": true,
"color": "#333333",
"label": "Nowe zgłoszenie",
"redirectURL": "https://google.pl"
}
]
}
Description of individual values:
OtrsUrl
- Address of the OTRS module that will accept the requestAlias
- Alias under which the forms will appearShowLangButton
- Should the language change button be visible (if we have only one language, we can hide it)LangButtonColor
- Color of the language change buttonGlobalLang
- Default form language (loaded by default, unless otherwise specified by OTRS configuration)RedirectButtons
- Optional forwarding buttons
RedirectButtons parameters - this parameter counts an array with objects containing parametersshow
- should the button be visiblecolor
- color of the redirection buttonlabel
- button captionredirectURL
- forwarding address