Needs review
Project:
Flexinode
Version:
master
Component:
Field types
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
30 Apr 2006 at 02:49 UTC
Updated:
19 May 2006 at 15:04 UTC
Jump to comment: Most recent file
Some fieldtypes, timestamp in particular, don't hold a value in $node->$fieldname until after submit. This means they cannot be previewed. This is currently the case w/ date fields--date fields do not show up in preview mode.
There are two things needed to fix this: one in flexinode.module and one in field_timestamp itself.
The patch which fixes flexinode.module is attached. It simply adds an exception for the case when $node->preview is true.
The patch to field_timestamp will follow. It uses $node->preview to determine how to properly format the date field.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | field_timestamp_preview_fix.patch | 818 bytes | samc |
| flexinode.module_preview_fix.patch | 1.01 KB | samc |
Comments
Comment #1
samc commentedsecond attachment
Comment #2
samc commented