JEM Teaser Module

Module name: JEM - Teaser Module
Extension: mod_jem_teaser
Current stable version: JEM 5.0.1
Beta versions covered: JEM 5.0.2 Beta 1 and JEM 5.1.0 Beta 4
Joomla compatibility: Joomla 5.4 or later and Joomla 6.x

Overview

The JEM Teaser Module presents selected events as visual promotional entries instead of a conventional event list. Each entry can combine a calendar-style date block, event title, venue, categories, event and venue images, a shortened description, event links and a link to an associated Joomla article.

It is suitable for homepage highlights, event landing pages, sidebars, category pages and venue pages. Events can be filtered by date status, category, venue, event ID, county or country.

Version note: JEM 5.0.1 is the current stable release. JEM 5.0.2 Beta 1 and JEM 5.1.0 Beta 4 are test versions and should be validated on a staging site before being used on a production website.

Version Compatibility

VersionStatusRelevant Teaser behaviour
JEM 5.0.1 Stable Stable Teaser baseline. The event title and Read more action both respect the configured Event block layout.
JEM 5.0.2 Beta 1 Beta Adds direct one-click access from Read more to the full Details view and guided migration for legacy module CSS override filenames.
JEM 5.1.0 Beta 4 Beta Adds event hierarchy filtering for parent events and subevents. In the current Beta 4 source, Read more follows the configured Event block layout.

Requirements

  • JEM 5.0.1, JEM 5.0.2 Beta 1 or JEM 5.1.0 Beta 4 must be installed and enabled.
  • The Joomla version must be 5.4 or later, or Joomla 6.x.
  • At least one published or archived event must match the selected display type and filters.
  • The visitor must have access to the event, its categories and its venue.
  • Event or venue images must be assigned if image output is enabled.
  • An associated Joomla article must be published, accessible and configured for Information usage before the module can display a More information link.

Where to Find It

  1. In the Joomla administrator, go to System → Manage → Site Modules.
  2. Select New and choose JEM - Teaser Module, or open an existing Teaser module.
  3. Select a template position.
  4. Configure the JEM options and assign the module to the required menu pages.
  5. Save the module and check the result on the frontend with the intended user access level.

Understanding the Three Description Actions

Description length, Read more and More information are independent features.

  • Max description length shortens the event intro text and adds an ellipsis. Truncation alone does not create a link.
  • Show 'Read more …' Break links to the JEM event when the description contains a real Joomla Read More break and non-empty full text. It is only rendered when Show description is enabled.
  • Show More Information links to a separate associated Joomla article configured for Information usage. It does not link to the JEM event description.

Read more Navigation by Version

VersionBehaviour
JEM 5.0.1 The event title and Read more action both inherit Event block layout. If Compact is selected, the visitor opens Compact first and may need another click to reach Details.
JEM 5.0.2 Beta 1 The event title continues to respect Event block layout, but Read more opens Details directly.
JEM 5.1.0 Beta 4 In the current Beta 4 source, both the event title and Read more action respect Event block layout. Select Details if Read more must open the complete event in one click.

Basic Options

Event Selection and Filters

OptionDefaultDescription
Event hierarchy Calendar default Available in JEM 5.1.0 Beta 4 only. Controls how parent events and programme subevents are selected:
  • Calendar default: parent events plus subevents whose Show in calendar option is enabled.
  • Parent events only: excludes subevents.
  • Subevents only: shows programme items only.
  • Parent events and subevents: shows the complete hierarchy.
Events Display-Type Upcoming Selects Upcoming, Unfinished, Archived, Today or Featured events.
Events in module 5 Maximum number of events returned after access checks and filters.
Show 'No events' Yes Displays No events found. when the result is empty. When disabled, the complete module is suppressed, including its intro and footer text.
Time offset (in hours) Empty / 0 Moves the reference time into the future with a positive value or into the past with a negative value. For Today, the offset is rounded to complete days. For example, 24 with Today selects tomorrow and 168 with Upcoming starts the window one week ahead.
Categories All accessible categories Limits the output to one or more selected JEM categories.
Show Category Yes Displays the categories assigned to each event.
Link to Category Yes Links each visible and accessible category name to its JEM category view.
Show Venue Yes Displays the event venue.
Venues All accessible venues Limits the output to one or more selected JEM venues.
Link to Venue Yes Links the accessible venue name to its JEM venue view.
Event ID Empty Comma-separated event IDs. Explicit event IDs can also be used to select events with an open date.
County Empty Comma-separated county, state or province values matched against the venue.
County Match Mode Complete Match Uses either an exact match or Contains. This option appears after a County value is entered.
Countries All countries Limits events to one or more selected venue countries.

Title and Event Links

OptionDefaultDescription
Max. Title length 25 Maximum event-title length in characters. Longer titles are shortened and end with an ellipsis.
Link to Event on Title Yes Links the event title to the event page.
Event block layout Default Optionally forces the linked event page to use Details or Compact. Default leaves the decision to the matching menu item or JEM configuration.
Venue block layout Default Optionally forces the venue section inside the linked event page to use Details or Compact. It does not change the separate Link to Venue destination.

Description, Read More and Associated Articles

OptionDefaultDescription
Show description Yes Displays the event intro text. Disabling it also suppresses the event Read more action.
Max description length 300 Limits the visible intro text to approximately this number of characters and adds an ellipsis when truncated.
Allow Line Breaks No Preserves line breaks from the intro text. When disabled, line breaks are converted to spaces.
Show 'Read more …' Break No Available values are Yes (link), Yes (button) and No. It appears only when the event has a real Read More split and Show description is enabled.
Show More Information Yes (link) Available values are Yes (link), Yes (button) and No. It links to a published and accessible associated Joomla article configured for Information usage.
Show More Information Title No Appends the associated article title to the More information label.

Event and Venue Images

OptionDefaultDescription
Show event image Yes Displays the event image when one is assigned.
Event image source Intro/List image Selects the Intro/List image or Full/Detail image. If Full/Detail is unavailable, JEM falls back to the Intro/List image.
Displayed image Thumbnail Thumbnail uses the generated JEM thumbnail. Original Limited displays the original file within the configured dimensions and can require a larger download.
Maximum width (px) 800 Maximum displayed width from 1 to 4096 pixels for Original Limited. The aspect ratio is preserved and the image is not enlarged.
Maximum height (px) 800 Maximum displayed height from 1 to 4096 pixels for Original Limited. The aspect ratio is preserved and the image is not enlarged.
Ribbon scale (%) 60 Scales a status ribbon from 50% to 200% when Original Limited is used. The option is shown only when event images and module status indicators are enabled. Thumbnail images continue to use the global ribbon scale.
Show venue image Yes Displays the venue image when one is assigned. If no event image is available, a status ribbon can be placed on the venue image.
Modal window No Opens the original image in the JEM lightbox. In the responsive layout, images are not linked when the modal option is disabled.

Date and Time

OptionDefaultDescription
Date Display-Type Show date Selects a formatted date or the difference in days relative to today. Time is hidden when Show day difference is selected.
Date format Empty Optional PHP date format, for example j. M Y. Empty uses the configured JEM date format.
Time format Empty Optional PHP time format, for example H:i. Empty uses the configured JEM time format and suffix.

Colours

OptionDefaultDescription
Colour Red Sets the calendar block to Red, Blue, Green or Orange, or derives it from the venue, category or fallback colour. A category colour is used only when the event categories resolve to one unique colour.
Fallback Colour #EEEEEE Used when Fallback Colour is selected or when the configured venue/category colour is unavailable or ambiguous.
Use Category Colour No Controls the category label independently: No, Colour Text or Colour Background.
Use Venue Colour No Controls the venue label independently: No, Colour Text or Colour Background.

Module Intro and Footer

OptionDefaultDescription
Show intro text No Displays custom content above the Teaser events.
Intro text Empty Safe HTML entered with the Joomla editor and displayed above the event output.
Show footer text No Displays custom content below the Teaser events.
Footer text Empty Safe HTML entered with the Joomla editor and displayed below the event output.

Advanced Options

OptionDefaultDescription
Layout Default Selects the supplied default or responsive layout, or a compatible Joomla template override.
Show status indicators Yes Shows the event status indicators enabled in JEM Basic Settings. A ribbon is used on a suitable image; otherwise JEM can display a status badge.
Module Class Empty Adds CSS classes to the module. Teaser helper classes include jem-novenue, jem-nocats, jem-noimageevent, jem-noimagevenue, jem-imagewidth200px, jem-imageheight150px and percentage variants such as jem-imagewidth100%.
Caching Use Global Uses Joomla global module caching or disables caching for this module.
Cache Time 900 Cache lifetime in seconds. The default 900 seconds equals 15 minutes.

Standard Joomla Module Settings

Joomla supplies the normal module controls around the JEM options. Configure the module title, title visibility, template position, publication status, publishing dates, access level, ordering, language, administrator note and menu assignment as required.

Available Layouts and Stylesheets

The Teaser module loads several stylesheets together: one for the selected layout, one for the calendar colour and one for the configured JEM icon system.

FilePurpose
default.php and default.css Classic table-oriented Teaser presentation with calendar block, metadata, floated images, description and links.
responsive.php and responsive.css Flexible row-based presentation for modern responsive template positions.
red.css, blue.css, green.css and orange.css Predefined calendar-block colour schemes.
category.css, venue.css and alpha.css Dynamic category, venue and fallback colour presentation.
iconfont.css and iconimg.css Presentation for icon-font and image-based JEM icons.

Layout Overrides

To modify the HTML without changing JEM core files, copy the required layout into your active Joomla site template:

/templates/<your-template>/html/mod_jem_teaser/default.php
/templates/<your-template>/html/mod_jem_teaser/responsive.php

Joomla then uses the template copy instead of the file installed in:

/modules/mod_jem_teaser/tmpl/

Template overrides are not updated automatically. Compare them with the supplied JEM layouts after every JEM update, especially when new fields, accessibility attributes or image handling are introduced.

CSS Overrides

Recommended Template CSS Override

To replace a complete Teaser stylesheet, create a file with the current stylesheet name under the active site template:

/templates/<your-template>/css/mod_jem_teaser/default.css
/templates/<your-template>/css/mod_jem_teaser/responsive.css

The same method can be used for colour and icon stylesheets:

/templates/<your-template>/css/mod_jem_teaser/red.css
/templates/<your-template>/css/mod_jem_teaser/category.css
/templates/<your-template>/css/mod_jem_teaser/iconfont.css

JEM searches for a module stylesheet in this order:

  1. /templates/<template>/css/mod_jem_teaser/
  2. /templates/<template>/html/mod_jem_teaser/
  3. /media/mod_jem_teaser/css/
  4. /modules/mod_jem_teaser/tmpl/

Small CSS Adjustments

If only a few declarations are required, use the shared JEM module user stylesheet instead of replacing the complete module stylesheet:

/media/com_jem/css/custom/jem-user-module.css

This file is loaded after the module styles and is suitable for local adjustments such as spacing, font size, image width or colours.

Legacy CSS Filenames

Legacy filenameCurrent filename
mod_jem_teaser.css default.css
mod_jem_teaser_responsive.css responsive.css
mod_jem_teaser_iconfont.css iconfont.css
mod_jem_teaser_iconimg.css iconimg.css
  • JEM 5.0.1: use the current filenames, such as default.css. This path already works in the stable release.
  • JEM 5.0.2 Beta 1: current filenames are recommended. Legacy filenames are temporarily recognised, and JEM can offer to migrate them.
  • JEM 5.1.0 Beta 4: current filenames are required at runtime. Legacy files are detected and presented to the administrator for migration.

Guided CSS Migration

JEM 5.0.2 Beta 1 and JEM 5.1.0 Beta 4 can detect legacy JEM module CSS filenames. When a legacy override is found:

  1. Open the JEM Control Panel.
  2. Follow the Legacy module CSS overrides require attention warning.
  3. Open CSS Manager.
  4. Review every displayed source and destination path.
  5. Select Migrate CSS overrides only after confirming the paths.

The migration never overwrites an existing destination file. Conflicts, symbolic links, unsafe paths and non-writable folders require manual review.

Configuration Examples

1. Featured Homepage Highlights

  • Events Display-Type: Featured
  • Events in module: 3
  • Layout: Responsive
  • Link to Event on Title: Yes
  • Event block layout: Details
  • Show description: Yes
  • Max description length: 220
  • Show Read more Break: Yes (button)
  • Show event image: Yes
  • Event image source: Full/Detail image
  • Displayed image: Original Limited
  • Maximum width / height: 800 / 800
  • Ribbon scale: 60%
  • Show venue image: No

Use a real Read More split in each event that needs a button. Details guarantees direct access to the complete event in every documented version.

2. Compact Upcoming Sidebar

  • Events Display-Type: Upcoming
  • Events in module: 5
  • Layout: Responsive
  • Show Category: Yes
  • Show Venue: Yes
  • Show description: No
  • Show event image: No
  • Show venue image: No
  • Date Display-Type: Show date
  • Link to Event on Title: Yes
  • Show More Information: No
  • Module Class: jem-noimageevent jem-noimagevenue

This creates a lightweight module for a narrow sidebar. The event title becomes the main action.

3. Venue Page with Editorial Articles

  • Events Display-Type: Unfinished
  • Venues: Select the target venue
  • Events in module: 6
  • Show Venue: Yes
  • Link to Venue: Yes
  • Show Category: Yes
  • Show description: Yes
  • Max description length: 160
  • Show Read more Break: No
  • Show More Information: Yes (link)
  • Show More Information Title: Yes
  • Show event image: Yes, Thumbnail
  • Show venue image: Yes
  • Colour: From Venue
  • Use Venue Colour: Colour Background

Assign a published associated article to each event and configure its usage as Information. The editorial link remains separate from the JEM event link.

JEM 5.1.0 Beta 4: Programme Example

Programme Subevents

  • Operating profile: Advanced Events & Venues
  • Event hierarchy: Subevents only
  • Events Display-Type: Unfinished
  • Categories: Select the programme category
  • Events in module: 8
  • Layout: Responsive
  • Show Venue: Yes
  • Show Category: No
  • Show description: Yes
  • Max description length: 120
  • Show event image: No
  • Date Display-Type: Show date

This configuration creates a compact programme agenda containing only child events. Use Parent events and subevents when the programme heading and its sessions must appear together.

Troubleshooting

ProblemWhy It HappensWhat to Check
No events are displayed. No accessible event matches the publication state, date window or filters. Temporarily clear Category, Venue, Event ID, County and Country filters. Check event status, dates, access levels and Events Display-Type.
The complete module disappears. The result is empty and Show 'No events' is disabled. Enable Show 'No events' while testing.
Programme sessions are missing in JEM 5.1. Event hierarchy is set to Calendar default or Parent events only. Select Subevents only or Parent events and subevents. With Calendar default, enable Show in calendar on the required child events.
Max description length works, but no Read more link appears. Text truncation does not create a Read More link. Add a real Joomla Read More break, enable Show description and select link or button for Show Read more Break.
Read more requires another click to reach the full description. Event block layout is set to Compact in JEM 5.0.1 or the current JEM 5.1.0 Beta 4 implementation. Select Details. JEM 5.0.2 Beta 1 opens Read more in Details automatically.
More information does not appear. The event has no usable associated information article, or the article is unpublished or inaccessible. Assign a Joomla article, set Associated article usage to Information, publish it and verify its access level.
The article title is not added to More information. The base More information link is unavailable or Show More Information Title is disabled. First make the associated article available, then enable Show More Information Title.
An event or venue image is missing. No image is assigned, the relevant option is disabled or a module class hides it. Check the image assignment, Show event image, Show venue image and the jem-noimageevent/jem-noimagevenue classes.
The Full/Detail image does not appear. The event has no Full/Detail image. JEM falls back to Intro/List. Assign a Full/Detail image if a distinct large image is required.
Ribbon scale is not shown. The field is conditional. Enable global module status ribbons, Show status indicators, Show event image and Original Limited.
Category or venue colours are not visible. No valid colour is assigned, label colouring is disabled or several categories use different colours. Assign valid colours, select text/background colouring and configure a fallback colour.
A CSS override is ignored. The file uses an obsolete filename, is in the wrong folder or does not match the active layout. Use default.css or responsive.css under /templates/<template>/css/mod_jem_teaser/. In the beta versions, review the CSS Manager migration warning.
Recent changes are not visible. The module output or browser CSS is cached. Clear the Joomla and browser cache, or temporarily disable module caching.

Accessibility

  • Keep link and button labels meaningful.
  • Verify text contrast when category or venue background colours are enabled.
  • Do not rely on colour alone to communicate event status.
  • Provide useful alternative text through meaningful event and venue names.
  • Test the module using keyboard navigation.
  • Test as a guest and registered user when events, categories, venues or associated articles use different access levels.

JEM 5.1.0 Beta 4 Appendix

JEM 5.1.0 Beta 4 is a development version. The following functionality does not apply to JEM 5.0.1 or JEM 5.0.2 Beta 1.

  • Adds the Event hierarchy selector.
  • Supports parent events and programme subevents introduced by Advanced Events & Venues.
  • Can show only parent events, only subevents, the complete hierarchy or the normal calendar-visible set.
  • Supports venue images stored in the expanded JEM venue image structure.
  • Uses the current module CSS filenames and does not load obsolete pre-JEM 5 filenames at runtime.
  • Detects legacy CSS overrides and offers a safe administrator-approved migration through JEM CSS Manager.
  • In the current Beta 4 source, Read more follows Event block layout. Select Details when direct access to the complete description is required.

Related Resources