icalendar view

Author Message

Artturi Markko

Tuesday 16 January 2007 1:45:07 pm

Hello,

I'm planning to set up ez with for several groups, each group having its agenda managed on an external site. Each agenda will be accessible via an url pointing to an icalendar file.

Is there a way to retrieve that data and show it in an ez template ?

Thanks in advance,

Artturi

Xavier Dutoit

Tuesday 16 January 2007 8:41:56 pm

Create a template operator that parse the the file and generate a table with the events.

$events=$icalendar|parseicalendar()

Then you can use it to display the calendar (there is a contrib, use it as an exemple).

http://www.sydesy.com

Artturi Markko

Tuesday 16 January 2007 11:41:02 pm

<quote>
Create a template operator that parse the the file and generate a table with the events.

$events=$icalendar|parseicalendar()

Then you can use it to display the calendar (there is a contrib, use it as an exemple).
</quote>

I guess you mean I have to implement the "parseicalendar" operator. Well, this sounds a bit ambitious...
By the way, which contrib do you think of ? (ezagenda ?)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.