Hi,
To be able to sync from the phone to server (but only this way…), do the following:
At line 161 of phpgwapi/inc/horde/Horde/SyncML/Sync.php, after line
foreach($syncElementItems as $syncItem) {
$guid = false;
add these line:
if (($contentType == ‘text/x-vcalendar’ || $contentType == ‘text/calendar’)
&& strpos($syncItem->getContent(), ‘BEGIN:VTODO’) !== false)
{
$hordeType = ‘tasks’;
}
I’m not developper, but in the previous lines “strpos($command->getContent(), ‘BEGIN:VTODO’)” do not get content, so do not return position number when ‘BEGIN:VTODO’ is found.
For syncing from server to phone, I have no idea!
So if someone can help…
Regards
Yann