Forums / Developer / Google calendar manages your homepage

Google calendar manages your homepage

Author Message

Philipp Kamps

Friday 06 October 2006 2:40:33 pm

New extension:
http://ez.no/community/contribs/hacks/googlescheduled

The extension allows you to manage and schedule the content with your google calendar. It is not about scheduling the layout, neither scheduling the structure of the home page, but more simply about scheduling the contents that are placed in the placeholders defined in the home page. These placeholders called "zones" use a template fetch function that is accessing your google calendar to figure out what content supposed to be published at the very moment.
In your Google Calendar you create appointment with the node_id in the title field. If the template function finds an appointment in your google calendar and can read a node_id it will show this node_id in your predefined "zones". In a configuration file you can specify fallback node_ids in case there is no appointment for the actual time.

This extension is a prove-of-concept - it is not supposed to run in a productive environment in its current form.

The extension contains an example "pagelayout.tpl" file that shows how to define a zone in your page layout. You may want to enable the caching once it is successfully running in your environment.

INSTALL

- enable the extension
- configure "googlescheduled.ini"
( see inline doc)
- have a look to "extension/googlescheduled/design/googlescheduled/templates/pagelayout.tpl"
to define your zones
- comment your feedback
- have fun

Please don't use the forum for feedback but the extension comments, thanks.

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada