Options and Settings
When you have completed Installing tasks, there are settings you must specify and several options you can set based on your tastes. We'll go through them in the order they appear in the config.php file.
Some of these are called "binary" options. If these options are set to 1 then they are on or enabled, if they are set to 0, then they are off or disabled.
- $custom->language - This determines the language used in your installation of tasks. It needs to be the name of one of the files in the 'languages' directory (without the .php). For example: english
- $custom->language_mobile - This determines the language used for the PDA/Mobile version of your installation of tasks. It also needs to be the name of one of the files in the 'languages' directory (without the .php). For example: english
- $custom->tasks_URL - This needs to be set to the web address of your tasks installation. The URL should begin with http:// and end with /. This is used when creating the URL value in the iCalendar export. For example: http://www.example.com/tasks/
- $custom->home_sort_order - This defines the order in which the tasks shown on the Home Screen. See more about this here
- $custom->upcoming_days - This defines the number of days before it's due date that a task will show up in the Upcoming Tasks Screen. The default is 7 days (1 week).
- $custom->date_format - This defines the order that the date elements are presented in. You can use any character besides y, m and d as the separator. Default valye is m/d/y, examples of other supported formats are y-m-d, d.m.y.
- $custom->date_picker_months - This defines the number of months that are shown in the Date Chooser. The default is 3.
- $custom->server_time_difference - If you are in a different time zone than your web server, set this to the number of hours ahead or behind you are. If you are ahead the number will be positive 3, if you are behind the number will be negative -2.
- $custom->show_deleted_in_history - Set this to 1 to show tasks that have been deleted in the History Screen, or set it to 0 to exclude deleted tasks from the list.
- $custom->check_for_updates - Set this to 1 to check for the latest version of tasks on the About Screen, or set it to 0 to not check for new versions of tasks. If this is set to 0, it will not check for beta versions either regardless of the $custom->use_beta setting.
- $custom->use_beta - Set this to 1 to check for the latest beta version of tasks on the About Screen, or set it to 0 to not check for new beta versions of tasks.
These next settings are used to communicate with PHP iCalendar.
- $custom->ical_enable - Set this to 1 to enable viewing your tasks in PHP iCalendar; or 0 if you don't want to view your tasks in a calendar.
- $custom->ical_include_todo - Set this to 1 include tasks with no Date Due in iCalendar integration as VTODO items.
- $custom->ical_export_type - This setting determines if your tasks (the ones with Date Due set) are exported as events or to do items. Set this to event (this is the default) to export your tasks as untimed events (VEVENT) that appear on the calendar on their due date. Set this to todo to export your tasks as to do items (VTODO).
- $custom->ical_days_before - This is the number of days before the current date to include in in the iCalendar export. The default is 30. There is no limit as to how large this number can be but the larger the range is that you export, the longer it will take.
- $custom->ical_days_after - This is the number of days after the current date to include in in the iCalendar export. The default is 90. There is no limit as to how large this number can be but the larger the range is that you export, the longer it will take.
- $custom->ical_URL - Set this to URL of PHP iCalendar, if you haven't moved it, it will be the same as $custom->tasks_URL with phpicalendar/ added at the end. The URL should begin with http:// and end with /. For example: http://www.example.com/tasks/phpicalendar/.
This next setting is used for e-mail reminders.
- $custom->email_reminders_to - Set this to your e-mail address yourname@example.com or a list of e-mail addresses separated by commas yourname@example.com,yourothername@example.com if you want the reminders sent to more than one address.
These next settings are used to communicate with b2.
- $custom->b2_enable - Set this to 1 to enable posting to b2 from tasks; or 0 if you don't use b2 or want to use this feature.
- $custom->b2_post_URL - Set this to URL of b2tasks_post.php in your b2 directory. For example: http://www.example.com/b2/b2tasks_post.php.
These next settings are used to communicate with WordPress.
- $custom->wp_enable - Set this to 1 to enable posting to WordPress from tasks; or 0 if you don't use WordPress or want to use this feature.
- $custom->wp_post_URL - Set this to URL of b2bookmarklet.php in your wp-admin/ directory. For example: http://www.example.com/wordpress/wp-admin/b2bookmarklet.php.
These next settings are used to communicate with Moveable Type.
- $custom->mt_enable - Set this to 1 to enable posting to Moveable Type from tasks; or 0 if you don't use Moveable Type or want to use this feature.
- $custom->mt_post_URL - Set this to URL of your Moveable Type URL. For example: http://www.example.com/mt/mt.cgi.
Last Modified: November 25, 2003 @ 2:21 am