Dad Joke of the Day

😂 Today a man knocked on my door and asked for a small donation towards the local swimming pool. I gave him a glass of water.

 
A complete Joomla 4/5 extension suite for displaying a daily family-friendly dad joke on your site. Jokes are fetched from multiple free APIs with automatic fallback and 24-hour database caching.

Extensions

📦 mod_dailyjoke - Frontend Module

Displays the daily joke in any Joomla module position.

  • 3 layout styles: Card, Simple, Quote
  • Optional refresh button
  • Source attribution toggle

🔌 plg_content_dailyjoke - Content Plugin

Centralized joke service provider with multi-API support.

  • Provider pattern with 3 joke APIs
  • Configurable cache duration and API priority
  • Error logging and fallback joke

Joke API Providers

Provider URL Notes
icanhazdadjoke icanhazdadjoke.com Dad jokes only, primary
jokeapi jokeapi.dev Safe mode enabled
officialjoke official-joke-api.appspot.com Final fallback

Requirements

  • Joomla 4.x or 5.x
  • PHP 8.0+
  • MySQL/MariaDB
  • No API keys required

Installation

  1. Install plg_content_dailyjoke first (creates the database table)
  2. Install mod_dailyjoke and assign to a module position

License

GNU General Public License version 2 or later