How to configure system defaults
From CTRNet Wiki
System defaults can be set at the user level. System configuration options include:
- config_debug - Debug mode setting, overrides the setting taken from /app/config/core.php
0: No error messages, errors, or warnings shown. Flash messages redirect. 1: Errors and warnings shown, model caches refreshed, flash messages halted. 2: As in 1, but also with full debug messages and SQL output. 3: As in 2, but also with full controller dump.
- config_language - Sets the default language
- define_date_format - Sets the date format preference the user wishes to see. See the Cake documentation for more information:
Acceptable values: - DMY - MDY - YMD - NONE
- define_csv_separator - When exporting a batch set to a text file this field defines what is used as the separator value between fields.
- define_show_help - Allows the user to turn off help buttons
- define_show_summary - Shows/hides the summary tab on the right hand side of ATiM forms.
- define_pagination_amount - Default number of records to display on index/list forms. Acceptable values are (5, 10, 25, 50)
- define_decimal_separator - The decimal separator used for numbers in non editable forms. When editing/adding, both separators are accepted.
- define_datetime_input_type - The way the user will enter dates. It can be via dropdowns or text fields.
- define_show_advanced_controls - Whether advanced controls are displayed or not. Advanced controls appear on search form at the right of non range fields. They allow the user to add "or" clauses. In some cases, it allows to convert a normal field to range fields.
To set these options check the `configs` datatable and insert/edit