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"]["features"] Which options to display in the main feature
    $config["defaults"]["main"]["maxmail"] Maximum number of mail entries to display in main
  $config["defaults"]["main"]["maxtodo"] Maximum number of todo entries to display in main
  $config["defaults"]["main"]["maxmeetings"] Maximum number of meeting entries to display in main
  $config["defaults"]["main"]["maxschedule"] Maximum number of schedule entries to display in main

Mail Defaults:

$config["defaults"]["mail"]["realname"] Default real name to use for the user (should usually be left blank)
$config["defaults"]["mail"]["signature"] Default signature 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 simultaneously? (0|1)
  $config["defaults"]["mail"]["mande"] Move and Expunge simultaneously? (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"]["numup"] Default number of attachments for new messages
  $config["defaults"]["mail"]["mailtree"] Display the mail view tree (0|1)
  $config["defaults"]["mail"]["mtexpand"] Allways expand all branches in the mail view tree (0|1)
  $config["defaults"]["mail"]["mdn"] Request a read receipts? (0|1)
  $config["defaults"]["mail"]["mdn_mode"] How to respond to MDN requests (0=never|1=manual|2=always)
  $config["defaults"]["mail"]["areply"] Included attached files when replying to a message (0|1)
  $config["defaults"]["mail"]["aforward"] Included attached files when forwarding a message (0|1)
  $config["defaults"]["mail"]["clines"] Number of body lines to display while composing a message
  $config["defaults"]["mail"]["dreturn"] Always return to the main message list after deleting a message (0|1)
$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 already exist)
   $config["defaults"]["bookmarks"]["pagesize"] Default number of items to display in the main list
  $config["defaults"]["bookmarks"]["viewgrp"] Default group to display in the feature (*=All|0=Unfiled)

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 already exist)
$config["defaults"]["contacts"]["pagesize"] Default number of items to display in the main list
  $config["defaults"]["contacts"]["viewgrp"] Default group to display in the feature (*=All|0=Unfiled)

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"]["tstyle1"] Default tab style (tabs=5)
$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
  $config["defaults"]["global"]["timeformat"] Default time format
  $config["defaults"]["global"]["stylesheet"] Default style to use

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 signature line to use for the user
  $config["defaults"]["news"]["inline"] Display uuencoded images in message window

Schedule Defaults:

$config["defaults"]["schedule"]["dgroup"] Default group to add new items to (the group must already exist)
  $config["defaults"]["schedule"]["viewgrp"] Default group to display in the feature (*=All|0=Unfiled)

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 already exist)
$config["defaults"]["todo"]["priority"] Default priority to set new items to
  $config["defaults"]["todo"]["pagesize"] Default number of items to display in the main list
   $config["defaults"]["todo"]["viewgrp"] Default group to display in the feature (*=All|0=Unfiled)
  $config["defaults"]["todo"]["duetype"] Default due date type for items (0=Never|1=date|2=date/time)

Notes Defaults:

$config["defaults"]["notes"]["sortby"] Default sort order (item|group|priority)
$config["defaults"]["notes"]["sortorder"] Default sort direction (0|1)
$config["defaults"]["notes"]["dgroup"] Default group to add new items to (the group must already exist)
$config["defaults"]["notes"]["width"] Default number of columns wide to make the text field
  $config["defaults"]["notes"]["height"] Default number of rows long to make the text field
  $config["defaults"]["notes"]["pagesize"] Default number of items to display in the main list
   $config["defaults"]["notes"]["viewgrp"] Default group to display in the feature (*=All|0=Unfiled)

Meetings Defaults:

$config["defaults"]["meetings"]["pagesize"] Default number of items to display in the main list
$config["defaults"]["meetings"]["mainview"] Default Meetings view
$config["defaults"]["meetings"]["dgroup"] Default group to add new items to (the group must already exist)
   $config["defaults"]["notes"]["viewgrp"] Default group to display in the feature (*=All|0=Unfiled)
 

Return to Table of Contents Return to Top