# TWIG Administrators Manual |
Return to Table of Contents |

## 4.11 Configuration - defaults.inc.php3 This file contains the user and program default settings for TWIG. Here is a list of the settings:
### Main Defaults:
| $config["defaults"]["main"]["schedule"] | Disable the display of the schedule list in the main screen
| $config["defaults"]["main"]["recentmail"] | Disable the display of the recent mail list in the main screen
### Mail Defaults:
| $config["defaults"]["mail"]["realname"] | Default real name to use for the user (should usually be left blank)
| $config["defaults"]["mail"]["signature"] | Default signauture line to use for the user
| $config["defaults"]["mail"]["linewrap"] | Where to wrap lines
| $config["defaults"]["mail"]["replyto"] | Default Reply To setting
| $config["defaults"]["mail"]["pagesize"] | Default number of items to display in the mail list
| $config["defaults"]["mail"]["sortby"] | Default sort order (date|from|subject)
| $config["defaults"]["mail"]["sortorder"] | Default sort direction (0|1)
| $config["defaults"]["mail"]["dande"] | Delete and Expunge simulatiniously? (0|1)
| $config["defaults"]["mail"]["savesent"] | Save sent messages in the send folder? (0|1)
| $config["defaults"]["mail"]["sentfold"] | What folder to save sent messages to (can by anything, TWIG will create it if it does not exist)
| $config["defaults"]["mail"]["draftfold"] | What folder to save draft messages to (can by anything, TWIG will create it if it does not exist)
| $config["defaults"]["mail"]["cmdline2"] | Display the second command line in mail (0|1)
| $config["defaults"]["mail"]["newwindow"] | Display messages in new windows (0|1)
| $config["defaults"]["mail"]["listcmds"] | Unused at the time
| $config["defaults"]["mail"]["newcontact"] | Show the contacts list when composing a new message
| $config["defaults"]["mail"]["fromaddress"] | This will allow you to set the address that the user sends mail from, usually this is set to the name the user logged in with and then the 'fromdomain' config setting, however you may want to change this and strip out information from the username or retreive the entire item from an external source like an LDAP server.
### Bookmark Defaults:
| $config["defaults"]["bookmarks"]["sortby"] | Default sort order (item|group|url)
| $config["defaults"]["bookmarks"]["sortorder"] | Default sort direction (0|1)
| $config["defaults"]["bookmarks"]["dgroup"] | Default group to add new items to (the group must alreay exist)
### Contact Defaults:
| $config["defaults"]["contacts"]["sortby"] | Default sort order (item|name|company|group|email)
| $config["defaults"]["contacts"]["sortorder"] | Default sort direction (0|1)
| $config["defaults"]["contacts"]["dgroup"] | Default group to add new items to (the group must alreay exist)
| $config["defaults"]["contacts"]["pagesize"] | Default number of items to display in the main list
### Global Defaults:
| $config["defaults"]["global"]["mstyle1"] | Default menu style, this should be configured in config.inc.php3
| $config["defaults"]["global"]["mstyle2"] | Default sub menu style, this should be configured in config.inc.php3
| $config["defaults"]["global"]["language"] | Default language, this should be configured in config.inc.php3
| $config["defaults"]["global"]["mailfoot"] | Disabled the display of the new mail indicator in the footer (0|1)
| $config["defaults"]["global"]["prevnext"] | Default Prev/Next Style, this should be configured in config.inc.php3
### News Defaults:
| $config["defaults"]["news"]["replyto"] | Default Reply To setting
| $config["defaults"]["news"]["pagesize"] | Default number of items to display in the mail list
| $config["defaults"]["news"]["newwindow"] | Display messages in new windows (0|1)
| $config["defaults"]["news"]["linewrap"] | Where to wrap lines
| $config["defaults"]["news"]["realname"] | Default real name to use for the user (should usually be left blank)
| $config["defaults"]["news"]["signature"] | Default signauture line to use for the user
### Schedule Defaults:
| $config["defaults"]["schedule"]["dgroup"] | Default group to add new items to (the group must alreay exist)
### ToDo Defaults:
| $config["defaults"]["todo"]["sortby"] | Default sort order (item|group|priority)
| $config["defaults"]["todo"]["sortorder"] | Default sort direction (0|1)
| $config["defaults"]["todo"]["dgroup"] | Default group to add new items to (the group must alreay exist)
| $config["defaults"]["todo"]["priority"] | Default priorty to set new items to

Return to Table of Contents | Return to Top