#262

Product support

Get help in the plugin support forum.

Categories

  • Marketing
  • Miscellaneous
  • Utility

Features

  • Multiple time entries per weekday
  • Add exceptions for specific dates
  • Auto calculate if 'now' is open
  • Component for displaying Opening Times
  • Supports English and German

Requirements

  • PHP7 - As the included library only works with PHP7, this addon requires it also. You will get a syntax error if you use a lower version of PHP than 7!
Credits

Spatie for their OpeningHours Library

Installation

To install the Plugin search for Opening Times in your OctoberCMS Backend or install it via the artisan command

php artisan plugin:install Zwiebl.OpeningTimes

Usage

Go to Settings -> OpeningTimes and configure your Opening Times. You need check every weekday once, even if it is closed. If only one day is missing, the component can not automatically calculate if 'now' is open.

Once the Opening Times are set up, add the component 'Show Opening Times' to a Page or Layout.

The component Tag is {% component 'openingTimes' %} Add it anywhere in your page code or layout code.

With the component properties you can choose if shortened day names should be used.

Add a localePicker Component from Rainlab.Translate to your page where OpeningTimes is used. Otherwise you won't get localized time entries.

1.0.2

Add missing vendor files

Apr 19, 2017

1.0.1

Initialize plugin.

Apr 16, 2017