Bezplatná linka (pre hovory z pevnej linky)
Slovensko: 0800 606 223
Otváracia doba: Po - Pi 08:00h - 22:00h, So 08:00h - 14:00h
E-mail: info@adriatic.hr
Nastavenie konfigurácie
Práve sa nachádzate v: Partneri > Provízny predaj > HTML servis > Nastavenie konfigurácie
It is imperative to properly set configuration settings, otherwise the service may function poorly or it may not function at all. Below is a table describing each directive within configuration file "wshtml.ini".
Please read each one carefully before proceeding with service installation on your web server. Description of each directive contains a strict notes whether the values should amended or not.
These instructions can be used as reference point when configuring service at any time. When referencing, keep the "wshtml.ini" file open in some editor i.e. notepad, so that directives can be compared as you go with configuration.
Once the configuration settings are done properly in accordance with instructions and manual, save the changes and run the service.
Configuration settings
| aid | Sets the API client ID which is obtained upon registration as Affiliate or Subagent. The value within configuration file should be replaced with your own API key. If API key is not properly set the service will fail to execute. |
|---|---|
| path | Relative path from web server root to the folder where wshtml.php file is located. (example: for "usr/bin/www/your-dir/subdir/wshtml.php", if "www" is web root, path is: "/your-dir/subdir/"). |
| theme | Name of the CSS theme provided by Adriatic.hr. List of available themes can be found in HTML Web Service themes documentation. |
| get_param_name | Name of the GET parameter used in the URI. |
| language | ISO-639-1 2-letter language code. Used if the language is not set manually. Directive sets the language used for service. The default example shows "hr" for "Croatian". The system will look for this setting, else it will default to "en". If language_select setting is set to 0, this will be the only language for the service. |
| language_select | Enables language select control, that allows visitors to manually change the service language. |
| language_cookie_name | This directive sets the name of the cookie language variable. It is essential to be set properly and to reflect the cookie name for storing visitor language selection. System will retrieve the value of these settings in order to set current language used. If value is set to false the system will truncate it, causing this operation to be inoperable. Should be changed only if default setting conflicts and should never contain "lang". |
| gmaps_api_key | Google provides API key for each Google Maps API user. It can be obtained by signing up for the Google Maps API: http://code.google.com/apis/maps/signup.html |
| url_rewrite |
Support for "smart" URL-s. Set to 1 only if the web page has support for rewriting URL-s. Rule: "/param1/value1/param2/value2..." |