Introduction
Randomizer 1.5 is a site module for Joomla 4, 5, and 6 that either renders one random module from a pool you choose, or shows random articles as a list, grid, or Bootstrap carousel.
Version 1.5 is a full rebuild: service provider, dispatcher, namespaces, Web Asset Manager assets, safer published/access/language checks, and an Exclude Current Article option.
Highlights
- Module Mode and Article Mode
- Category, tag, featured, and exclusion filters
- List, grid, and carousel displays
- Optional cache for non-random article ordering
- Joomla 4 / 5 / 6 compatible
Installation
Requirements
- Joomla 4, 5, or 6
- PHP 8.1 or later recommended
- Articles in
com_content for Article Mode - Published site modules for Module Mode
Install
- Download
mod_randomizer_1.5.0.zip.
- Open System > Install > Extensions.
- Upload and install the module.
- Open Content > Site Modules, create a Randomizer module, configure it, assign it, and publish.
- Clear Joomla and browser cache.
If you are upgrading from 1.4 or earlier, re-check module parameters after install. Custom fields and language files now ship inside the module package.
Basic Settings
Open the module Basic Settings tab first.
- Mode (default: Module Mode)
- Module Mode: render one random published site module from your pool
- Article Mode: load filtered articles and display them as a list, grid, or carousel
- Select Modules (Module Mode only): repeatable pool of site modules. Each row has a Module picker. Add as many rows as you need. Randomizer itself is excluded from the list. On each page load, one published, accessible, in-window module from the pool is rendered. Unpublished or inaccessible selections are skipped.
Tip: Use Module Mode for rotating banners, CTAs, testimonials, or promo blocks without changing the template.
Article Settings
Visible when Mode is Article Mode.
- Number of Articles (default: 1, range: 1 to 20): how many articles to load
- Categories: multi-select. Leave empty or choose All Categories to include every published content category
- Tags: multi-select tag filter. Leave empty or choose All Tags to skip tag filtering
- Featured Articles Only (default: No): when Yes, only featured articles are included
- Exclude Current Article (default: Yes): on
com_content article pages, exclude the article being viewed
- Exclude Articles: comma-separated article IDs to always exclude
- Order By (default: Random)
- Random
- Date (newest first)
- Popularity (most hits first)
- Title (alphabetical)
Queries also respect published state, publish dates, access levels, and language.
Display Settings
Visible when Mode is Article Mode.
Layout
- Display Style (default: Default List)
- Default List
- Grid Layout
- Carousel
- Grid Columns (Grid only, default: 3): 1, 2, 3, 4, or 6
- Carousel Interval (ms) (Carousel only, default: 5000, minimum: 1000): time between slides
- Show Carousel Indicators (Carousel only, default: Yes): slide dots
- Show Carousel Controls (Carousel only, default: Yes): previous / next buttons
- Show Carousel Caption (Carousel only, default: Yes): title, text, and read more overlay on larger screens
Title and image
- Show Title (default: Yes)
- Title Max Length (when Show Title is Yes, default: 0): character limit; 0 means no limit
- Header Tag (when Show Title is Yes, default: H3): H1 to H6
- Show Image (default: Yes): article intro image
- Image Position (Show Image Yes and Default List only, default: Above Title): Above Title, Below Title, or Below Content
Text and links
- Show Article Text (default: Yes)
- Show Full Article (when Show Article Text is Yes, default: No): Yes shows intro plus full text; No uses intro only
- Text Max Length (when Show Article Text is Yes and Show Full Article is No, default: 200): character limit; 0 means no limit and keeps HTML
- Show Read More (default: Yes). Hidden automatically when full article text is already shown
- Read More Text (when Show Read More is Yes, default language key: Read More)
- Open Links in New Window (default: No): adds
target="_blank" with rel="noopener noreferrer"
Advanced
- Layout: alternate module chrome / layout override when available
- Module Class Suffix: extra CSS classes on the module wrapper
- Enable Caching (default: Yes): caches article selection when Order By is not Random
- Cache Time (minutes) (when Enable Caching is Yes, default: 30): lifetime before a cached selection refreshes
Random ordering always fetches a fresh selection so the module stays varied. Caching does not apply to Module Mode pool picking.
Parameter Checklist
Complete parameter map for Randomizer 1.5:
Basic Settings
- Mode
- Select Modules → Module (repeatable row)
Article Settings
- Number of Articles
- Categories
- Tags
- Featured Articles Only
- Exclude Current Article
- Exclude Articles
- Order By
Display Settings
- Display Style
- Show Title
- Title Max Length
- Header Tag
- Show Image
- Image Position
- Show Article Text
- Show Full Article
- Text Max Length
- Show Read More
- Read More Text
- Open Links in New Window
- Grid Columns
- Carousel Interval (ms)
- Show Carousel Indicators
- Show Carousel Controls
- Show Carousel Caption
Advanced
- Layout
- Module Class Suffix
- Enable Caching
- Cache Time (minutes)