Thursday 23 March 2006 1:58:02 pm
Hi, My approach was to create classes for a week, day, and hour - and then use the location bar to put the events in there. There is alot of custom code involved. If you are new to eZ publish, you might want to consider handling the calendar with a different method. eZ does have its own calendar, but I have never used it. If you are just going post upcoming events, you may be able to just post them in a list with the existing classes and use a template to display the next one in the list, sorting them in descending order of date (from most recent to most distant). There are no tags (that I know of) to put PHP directly in templates. This describes AJAX, which you might be able to use to include PHP content in an eZ publish template. Basically, the client browser uses javascript to request the PHP content after the page loads. http://www.w3schools.com/ajax/default.asp This is a nice calendar that you might be able to use. http://www.ikemcg.com/scripts/index.html Good luck.
|