An open API service indexing awesome lists of open source software.

https://github.com/withclarity/prl_hours

Drupal 6 module for displaying library hours with closure notices
https://github.com/withclarity/prl_hours

drupal-6-module php5

Last synced: 26 days ago
JSON representation

Drupal 6 module for displaying library hours with closure notices

Awesome Lists containing this project

README

          

# PRL Hours

A Drupal 6 module for displaying library hours with dynamic closure notices.

Built for [Prince Rupert Library](https://princerupertlibrary.ca).

## Features

- **Weekly hours display** with configurable open/close times per day
- **Closure management** via admin interface with start/end dates and reasons
- **Smart grouping** of consecutive closed days (e.g., "Thu–Sun (Dec 25–28)")
- **Early closing support** shows actual hours instead of "Closed after X"
- **Upcoming closure banners** with configurable lead time
- **Short date formatting** for cleaner, compact display

## Installation

1. Copy the `prl_hours` folder to `sites/all/modules/`
2. Enable the module at `admin/build/modules`
3. Configure at `admin/settings/prl_hours`
4. Place the block via `admin/build/block`

## Configuration

- **Weekly Hours**: Set open/close times for each day
- **Closures**: Add upcoming closures with date ranges and reasons
- **Display Lead Days**: How far in advance to show closure notices

## Requirements

- Drupal 6.x
- PHP 5.2+

## License

GPL-2.0 - Same as Drupal core.