Hey,
I noticed this question was asked before but closed due to inactivity.

Is it possible to use the date module to define a field with, from specified date to specified date, and then use this range and output in FullCalendar? I'm quite the novice with the Drupal API and how modules are made so I'm having problems finding my way around the code. What I noticed was that the statement in fullcalendar.module:254 if (method_exists($field, 'fullcalendar_render')) { Never returns true and therefore the $date_fields array is left empty.
When using the regular node updated field everything worked fine. Is this feature not implemented, is it a bug or is it by design and I've done something wrong?

I'm using the 7.x-2.x-dev module and tried the alpha version as well.

Comments

tim.plunkett’s picture

Status: Active » Postponed (maintainer needs more info)

Are you creating your own date field from within a module? Or just using Field UI like normal?

Clearing the cache allows fullcalendar to assign every valid date field a handler that has the method fullcalendar_render.

Clear the cache, and try again. Also, make sure you're on the latest dev of fullcalendar and views.

aspilicious’s picture

I got this issue while not using latest views module.

oxyc’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Same here, latest views fixed the problem but now I inherited a new bug, but it seems related to views/date module though.

I appriciate the help