I get by far the most support questions about trying to view the tasks iCalendar in the included PHP iCalendar.
I hacked some 401 authentication support into PHP iCalendar, but it doesn’t work for some people. I think it depends on server config and PHP version.
One solution is to go into the PHP iCalendar config file and add the tasks iCalendar with your username/password to the ‘$list_webcals[]’ setting. It should look like this:
$list_webcals[] = ‘http://username:password@www.example.com/tasks/ics.php’;
After you do this, you then need to change line 7 in the calendar.php page to from this:
$URL = $custom->ical_URL."month.php?cal="
.urlencode($custom->tasks_URL.'ics.php')
."&getdate=".date("Ymd");
to this:
$URL = $custom->ical_URL."month.php?getdate="
.date("Ymd");
The ‘tasks Webcal’ should show up in the drop down of Calendars.
I should make this a setting and add these notes to the poor neglected docs.
This post is part of the project: Tasks Pro™. View the project timeline for more context on this post.