I'm creating a View that grabs a CCK date field. For each of my nodes I have a start/from date and end/to date. If I called my CCk field 'field_date' then the associated values are .field_date_value and field_date_value2. When adding this date field to the view, it returns both the To and From dates. This is usual behavior for Views w/ dates from my experience. However, the Exhibit JSON feed therefore returns only the From date, regardless if you specifically add .field_date_value2 or .field_date_value fields.

How can I get around this? To use the timeline extension for events with start/end dates, both date values need to be sent through the feed (obviously.) Any ideas?

- John

Comments

jhuckabee’s picture

Assigned: Unassigned » jhuckabee

John, I noticed this issue on my demo site (http://d6demo.joshhuckabee.com) as well and after I upgraded to the latest Date module, everything worked fine. What version of date are you running? Also, what version of the Exhibit module are you running?

diodata’s picture

I'll need to take a look. I got around this by creating a CCK Computed field (text format) that equates to the To Date value. And then I pass that computed field in the Exhibit feed and define that as a date column in the Exhibit javascript.

I'll updates the Date (and a few other modules) and see where it gets me.

diodata’s picture

After updating to the latest Date module, everything worked fine. I'm using the Exhibit module dated Jan 29, 2009 of the dev branch. I'm currently point to the MIT servers for Exhibit and extensions but will be pointing to my locally check out version (probably trunk) in the very near future.

jhuckabee’s picture

Status: Active » Closed (fixed)