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
- Host: GitHub
- URL: https://github.com/withclarity/prl_hours
- Owner: WithClarity
- Created: 2025-12-22T19:16:56.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-12-22T19:20:18.000Z (6 months ago)
- Last Synced: 2025-12-24T08:47:44.428Z (6 months ago)
- Topics: drupal-6-module, php5
- Homepage: https://www.princerupertlibrary.ca/
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.