[Season Meta] Add "Seasonal Hours / Duration" feature

Created on 22 August 2012, over 12 years ago
Updated 17 February 2023, almost 2 years ago

Note: This Feature is now ready.
Your feedback is highly appreciated. For example, Do you want the regular weekdays to disappear, when a season hits in, or when any season is maintained?

Problem/Motivation

We need seasonal office hours for our databases of restaurants and tourist destinations.
It would contain the following fields:


Proposed resolutions and alternatives

  • 1. create a submodule of office_hours providing a field_collection comprised of several fields.
  • 2. create formatter for the provided field_collection that shows the office_hours corresponding to the matching season for today.
  • 3. See also the (install file of the) Measured Value Field module. This is a composite field using the composing field types.
  • 4. Version 8.x-1.8 of this modue will contain Seasons and Exceptions.
    Alternatives
  1. this can already be implemented using the Field collection module;
  2. add an 'office_fields_addendum' textfield to the entity, describing the exceptions. Show the field together with the office_hours field;
  3. 🌱 [Season] Add Recurrence Rule for Views (Full)Calendar integration (ISO-8601 or RRULE) Active

Examples:

Remaining tasks


- Implement exceptions (Dates or periods that are excluded from the opening times, like holidays, X-mas).
Suppose two field_collections 'Regular' and 'Summer 2012'. You don't want to change Regular each time. During 'Summer 2012', how to suppress the 'Regular' times?
- Implement seasons;
- 🌱 [Season] Add Recurrence Rule for Views (Full)Calendar integration (ISO-8601 or RRULE) Active
- 📌 Refactor 'Weekwidget with exceptions' as Widget of Widgets Fixed

User interface changes

n/a

Related Issues

n/a

Original report by ASMBL

I was wondering about options in the Field Settings that would allow for seasonal hours. This could be broadened to applicable period so as to not limit it, and account for a great variety of options. Something along the lines of:
- Are these hours applicable to a range of dates or period? y/n
- Single or multiple periods? (creates desired number of tables)
- Enter the applicable dates, and title of period(s) (ie Winter hours, Summer school, Spring Production, Fall Winter Programs):

These conditions could also be entered from the Add Content form to give client control. Something like:
- Expose these options during content creation? y/n

Feature request
Status

Fixed

Version

1.7

Component

Code - widget

Created by

🇨🇦Canada ASMBL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024