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.
📦 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
| Provider | URL | Notes |
|---|---|---|
| icanhazdadjoke | icanhazdadjoke.com | Dad jokes only, primary |
| jokeapi | jokeapi.dev | Safe mode enabled |
| officialjoke | official-joke-api.appspot.com | Final fallback |
- Joomla 4.x or 5.x
- PHP 8.0+
- MySQL/MariaDB
- No API keys required
- Install
plg_content_dailyjokefirst (creates the database table) - Install
mod_dailyjokeand assign to a module position
GNU General Public License version 2 or later