[kronolith] Remote shared calendars on kronolith 4.0

Daniel Machado Grilo daniel.grilo at pdmfc.com
Tue Nov 15 17:06:45 UTC 2011


  Dear Kronolith developers,

I'm trying to add some google calendars shared with every kronolith user.

So I've added in prefs.php:
$_prefs['remote_cals'] = array(
   'value' => 'a:1:{i:0;a:2:{s:4:"name";s:20:"Feriados 
Portugueses";s:3:"url";s:100:"http://www.google.com/calendar/ical/portuguese__pt_pt%40holiday.calendar.google.com/public/basic.ics";}}'
);

$_prefs['display_remote_cals'] = $_prefs['remote_cals'];
$_prefs['display_external_cals'] = $_prefs['remote_cals'];

I'm not sure what is the correct variable to define so I set the 3 of 
them .. but none seem to work.

I've already used version 3.XX and previously I had some other options 
defined that I've also tried:
$_prefs['remote_cals'] = array(
     'value' => 'a:12:{i:0;a:2:{s:4:"name";s:18:"Vacations 
2010/jan";s:3:"url";s:49:"http://xxxxxxxx/icsFiles/holidays_201001.ics";}i:1;a:2:{s:4:"name";s:18:"Vacations 
2010/feb";s:3:"url";s:49:"http://.....";}}',
     'locked' => false,
     'shared' => true,
     'type' => 'implicit',
);

This worked in previous version, but I can't get it to work now. Is 
there any voodoo preference I have to define ?!

Looking deeper in the code, it seems that the $GLOBALS for 
remote_calendars array has some 'd' and 'v' values .. (default and value 
!?) and 'v' does not have what is supposed to..

Thanks in Advance,
Daniel

-- 
Daniel Grilo
IT Director
Av. Conde Valbom 30, 3o // 1050-068 Lisboa (Portugal)
web: http://www.pdmfc.com
Tel: +351 21 357 20 29 // mobile: +351 91 388 94 39
Fax: +351 21 357 20 31


Confidencialidade / Confidentiality

Esta mensagem, e os documentos que a acompanham, podem conter informações
confidenciais ou privilegiadas. Se receber esta mensagem por erro, ou não
for o destinatário, deverá apagá-la, assim como, os  ficheiros anexos ou
cópias. Qualquer utilização, comentário, cópia, distribuição ou acção
baseada nesta informação é estritamente  proibida.
Se, por erro, recebeu esta informação, queira informar-nos.
Obrigado pela sua colaboração.

The information in this message is confidential and privileged. It is
intended solely for the addressee. If you are not the intended recipient,
any disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it is prohibited. Please contact the
sender immediately if you have received this message by mistake.
Thank you for your cooperation.

-------- Random Quote -------
Writing is easy; all you do is sit staring at the blank sheet of paper until
drops of blood form on your forehead.
		-- Gene Fowler

-------------- next part --------------
A non-text attachment was scrubbed...
Name: daniel_grilo.vcf
Type: text/x-vcard
Size: 302 bytes
Desc: not available
URL: <http://lists.horde.org/archives/kronolith/attachments/20111115/bb9b8812/attachment.vcf>


More information about the kronolith mailing list