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.

Comments

arnested’s picture

Status: Active » Needs review
StatusFileSize
new4.33 KB
arnested’s picture

If anyone (besides me) needs this patch against 7.x-1.4-beta1 ... here it is.

  • mikl committed a4012a0 on 7.x-1.x authored by arnested
    Issue #2317021 by arnested: Added Make Opening hours fieldable in view...
mikl’s picture

Status: Needs review » Fixed

Committed to 7.x-1.x and released in 7.x-1.5-beta2. Tak for hjælpen :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.