Skip to content

WithClarity/prl_hours

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

PRL Hours

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

Built for Prince Rupert Library.

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.

About

Drupal 6 module for displaying library hours with closure notices

Topics

Resources

Stars

Watchers

Forks

Contributors