It would be nice to have the opening_hours_week "widget" be fieldable in node view_modes.
I have implemented a hook_field_extra_field() which exposes the "widget" and renders it as field.
There is an update hook that will make the field hidden on already "opening hours" enabled node types so it won't mess with what people have already implemented.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | opening_hours-make_fieldable-2317021-1.patch | 4.33 KB | arnested |
Comments
Comment #1
arnested commentedComment #2
arnested commentedIf anyone (besides me) needs this patch against 7.x-1.4-beta1 ... here it is.
Comment #4
miklCommitted to 7.x-1.x and released in 7.x-1.5-beta2. Tak for hjælpen :)