Calendar customizing

atasmrk - July 8, 2008 - 19:20

Salutations to you all.

So to the issue at hand. I need a calendar with information about events (future and past), not reocurring, not lasting through more days. Nothing fancy, something along those lines. So far I have done the following. Using calendar module I can display nodes of a custom type and in a header of a calendar's day display I have a link to adding a node of that custom type. The problem is that those entries appear on the date entries were created. This obviously is not good enough. How would I achieve desired result?

I was thinking about something like changing node creation date or adding a variable to the node and then . Another problem is how to integrate this date selection into node creation.

I should probably mention that I have absolutely no experience in php and very limited drupal experience. However I am quite versatile in c#, so I am not afraid of programing, if it will be required.

First your content type

nevets - July 8, 2008 - 19:46

First your content type needs a date field (The one used by CCK works). Second you need to 'add' the default calendar view to make a copy and under fields add you content types field for the date. (the default calendar view is only a starting place)

Thanks for your help, turns

atasmrk - July 9, 2008 - 15:07

Thanks for your help, turns out CCK is quite a piece of work.

However, with the calendar module, things were not quite as you described them. Or maybe they are, I just did not do as you suggested. After enabling the calendar view, I modified "Arguments" so that only new node data field created with CCK was used. Additionally I specified a filter so that only nodes of my custom type are displayed. And that did the trick. No adding anything to the calendar view.

Also I see that differences between 5.x and 6.x are quite significant. Or is that only my unprofessional observation.

 
 

Drupal is a registered trademark of Dries Buytaert.