Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:syces:frontend:options [2017/04/18 09:05]
co created
en:syces:frontend:options [2017/04/18 11:26] (current)
co
Line 15: Line 15:
 Custom Options are used for options that are used by very few clients, for testing, for debugging etc. Custom Options are used for options that are used by very few clients, for testing, for debugging etc.
 Beside that, all custom templates for accounts are stored in the custom_options table. Beside that, all custom templates for accounts are stored in the custom_options table.
 +
 +The table structure allows to set cascading option values for \\
 +all clients (mandant_id = 0)  / specific clients (mandant_id = client_id)\\
 +all entries of a certain type (e.g. table_name = t_standort, table_row_id = 0) / specific (for certain table_row_id)\\
 +where more specific options overwrite more general options.
  
  
Line 21: Line 26:
  
 ---- ----
 +Apart from the following list, options can be set/checked manually or in the Options Module\\
  
 +Also check inc/options.inc.php /getOptionValue()\\
 +/lib/SyCesDatabase.py/ setOption(), getOption()
  
  
 ^  Option name                    set in ^                   Description                                                                                                                    ^ ^  Option name                    set in ^                   Description                                                                                                                    ^
 +| debug_ticket_aruba                   | -  | write debug messages to error_log (self-ticket)                                                                                         |
 +| debug_ticket_bintec                   | -  | write debug messages to error_log (self-ticket)                                                                                         |
 +| echo_ticket_aruba                   | -  | echo debug messages on screen, in production mode never as general option, only for own location!!                                                                                         |
 +| echo_ticket_bintec                   | -  |echo debug messages on screen, in production mode never as general option, only for own location!!                                                      |
 +| fbpageid                   | module/location.inc.php   | facebook account id to be shown on login (self-ticket)                                                                                                                          |
 +|max_mb_filemanager                   | -    |max. upload size in filemanager                                                                 
 +|monitoring                   | module/location.inc.php    | not in use currently, meant for pinging of routers                                                                  | 
 +| restrict_registration                   | module/location.inc.php   | time to wait before a new registration is allowed (self-ticket)                                                                                                                          |
 | sms_lox24                   | include/sms.inc.php   | Options for sms provider lox24                                                                                                                          | | sms_lox24                   | include/sms.inc.php   | Options for sms provider lox24                                                                                                                          |
-| template                   model/account.inc.php   Options for sms provider lox24                                                                                                                          |  +| template                   module/account.inc.php   |custom templates for accounts, shown by nav.inc.php                                                                                                                            
-| validity                   model/client.inc.php   | default for how many days acccounts remain valid                                                                                                                           +| tariff_id_api                  | -   | used in jsonapi.py as default tariff                                     
 +| token_handling                  | module/location.inc.php   | login using token with or without need to accept terms of useage                                                                 
 +| username_type                  | -   | used in jsonapi.py as default username_type                                  |   
 +| validity                   module/client.inc.php   | default for how many days acccounts remain valid                                                                                                                           |  
 +| validity                   | module/location.inc.php    | default for how many days acccounts remain valid                                                                                                                           
  
QR Code
QR Code Custom Options Module (generated for current page)