diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-08-18 18:57:15 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-08-18 18:57:15 -0700 |
commit | 9bfb6c4c4ba16378201564118ddc4c25eb83a0b1 (patch) | |
tree | 9acac4a4b8a5820730e1da7cba23339f47f92c5c /docs | |
parent | 04bebc47877f5145e20e6d6165ea506fa891f98c (diff) |
Display a link to the task for email notifications
Diffstat (limited to 'docs')
-rw-r--r-- | docs/email-configuration.markdown | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/email-configuration.markdown b/docs/email-configuration.markdown index 974f972e..63ed9789 100644 --- a/docs/email-configuration.markdown +++ b/docs/email-configuration.markdown @@ -90,3 +90,23 @@ Here a example: # Everyday at 8am we check for due tasks 0 8 * * * cd /path/to/kanboard && ./kanboard send-notifications-due-tasks >/dev/null 2>&1 ``` + +### How to display a link to the task in notifications? + +To do that, you have to specify the URL of your Kanboard installation in your config file. +By default, nothing is defined, so no links will be displayed. + +```php +// Your Kanboard base URL, example: http://demo.kanboard.net/ (used by email notifications or CLI scripts) +define('KANBOARD_URL', ''); +``` + +Examples: + +- http://demo.kanboard.net/ +- http://myserver/kanboard/ +- http://kanboard.mydomain.com/ + +Don't forget the ending `/`. + +You need to define that manually because Kanboard can't guess the URL from a command line script and some people have very specific configuration. |