Agenda.....please hepl me

Author Message

M M

Tuesday 18 January 2005 6:22:31 am

Hi all May anyone please help me in creating an agenda that displays the events of each day from the content... also i need to know how the content structure should be

Thanks in advance

Arran Price

Tuesday 18 January 2005 12:19:24 pm

Hi,
Are you using the community supplied agenda template?
If so this will do much of what you want.

If you can confirm this is what you are doing then I can assist with some sample code for a day view template.

cheers

Arran

M M

Monday 24 January 2005 5:30:31 am

Hi

I'm sorry but i don't know what is the the community supplied agenda template

May you please help

Thanks in advance

Arran Price

Monday 24 January 2005 10:15:53 am

A good place to start with an agenda is a very nice one created by Stefano Guandalini. It can be found in the Community/Contrib/Applications section of this site at http://www.ez.no/community/contribs/applications

cheers

Arran

Mark De Quidt

Friday 11 February 2005 3:21:01 pm

I created my first ezPublish yesterday and thought a calendar was standard in this CMS. I d/l agenda.tpl, but where to find information regarding this instructions:

***
- Create a class with two date attributes called 'date_from' and 'date_to'.
- Fill one folder with objects created from this new class.
- Replace the node number of your folder in fetch below.
- Include this template wherever you want in your tamplate.
- Create a new override for results.
- Look for $view_parameters.day,month,year to tune your fetch for results.
***

It appears to me one cannot "start" with an agenda, one has to "develop" an agenda.

Additionally, I also d/l ezCalendar, but this does not show any information, using URL:
http://localhost/ezpublish/index.php/intranet_admin/content/view/admin/calendar/day

I am running ezpublish on my development notebook, XP Home SP2, Apache 2.0.52, PHP 4.3.10, MySQL 3.23.49

www.AtheneumAntwerpen.be
www.OpenLeren.be

M M

Thursday 07 April 2005 7:55:39 am

Hi

Thanks for your help, i did the steps and it works fine except that the date's including the events is not hyperlinked to display its events. i do think that the problem is in the node id that is used in fetching as we are using the node id of the folder containing the events,

"<a href={concat("/content/view/full/__YOUR_NODE_HERE__/day/", $item, "/month/", $month, "/year/", $year)|ezurl}>"

waiting for a solution please

Thanks in advance

Arran Price

Thursday 07 April 2005 1:20:07 pm

Hi,
I dont know specifically whats wrong but if I were debugging it....
Probably the first thing to do, is at the top of your template, do a simple fetch on all items in the appropriate folder and then loop thru and display their names. That will prove the correct node and theres nothing more sinister at play.
From there, take the fetch youve proved worked, and try fetching a specific event (using filter based on day or something) which will probably help determine whats wrong.

that should help in determining whats going on.

Arran

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