Calendar Views with customized dates fields.
Hi everyone.
I have been exploring Drupal for a month and I have found it impressive, amazing piece of work from the Drupal community. Maybe my questions will sound a bit naifs, I’ve been in project coordination for a while, so my coding skills are rusted.
I’ve been trying to use the “calendar” 6.x module applying a new content created with CCK, but I got stuck in creating its View with the View 2 module.
The test is quite simple.
The table {activity} consists in the following:
.- name (the table nodes name field)
.- description (the table nodes body’s field)
.- date (a date field created and customized with cck)
I tried to use the calendar module to show the dates that are store in the date field, but view 2 doesn’t show the fields from the table “content_type_activity” which contains the date field. I have found the tutorial for the View API, but I still don’t have the experience to follow those instructions.
Could someone give me a example with the hook_views_api(), hook_views_data(), hook_views_handlers(), hook_views_plugins() functions? Please.
I’m also trying to implement the functions hook_load() and hook_view() in a .module so I could create a view for this content type, but, since “activity” content type was created with the cck I’m wondering where to place those functions, in a .module file in the sites/all/modules/activity folder?
And after doing this How could I use the calendar with the fletched data? Any suggestions?
It’s a shame that the events related modules for 5.x aren’t ported for the drupal 6.
Thanks for your help.
Adan

