PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar pratibha-builds
pratibha-builds
29 Apr 2026

Fixes #47710.

  • I read the Generative AI policy and my contribution is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

This PR fixes an issue in the Articles module where the "Read More" button is not displayed when the introtext is truncated using the Intro Text Limit, but no readmore marker is present.

Previously, the button was only shown if fulltext existed.
This update adds a condition to also show the "Read More" button when the displayed introtext is shorter than the original introtext (i.e., it has been truncated).

Additionally, Joomla applies the introtext limit based on characters (not words).
To stay consistent with this behavior, the truncation detection compares the length of the original introtext with the displayed introtext instead of relying on word count.


Testing Instructions

  1. Create an article without a readmore marker.
  2. Add enough content so that it exceeds the introtext limit.
  3. Create an "Articles" module.
  4. Set "Intro Text Limit" (e.g., 50 or 100 characters).
  5. Enable "Show Read More".
  6. Assign the module to a visible position (e.g., sidebar).
  7. View the frontend.

Actual result BEFORE applying this Pull Request

  • Introtext is truncated correctly.
  • However, no "Read More" button is displayed.

Expected result AFTER applying this Pull Request

  • Introtext is truncated.
  • A "Read More" button is displayed even without a readmore marker.

Before Fix

Introtext is truncated but no "Read More" button is displayed.

![Before]
Screenshot 2026-04-29 172645

After Fix

Introtext is truncated and the "Read More" button is displayed correctly.

![After](

after-fix-readmore.1.mp4

)

Link to documentations

  • No documentation changes for guide.joomla.org needed
  • No documentation changes for manual.joomla.org needed
avatar pratibha-builds pratibha-builds - open - 29 Apr 2026
avatar pratibha-builds pratibha-builds - change - 29 Apr 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Apr 2026
Category Modules Front End
avatar pratibha-builds pratibha-builds - change - 29 Apr 2026
The description was changed
avatar pratibha-builds pratibha-builds - edited - 29 Apr 2026
avatar pratibha-builds pratibha-builds - change - 29 Apr 2026
Labels Added: PR-5.4-dev

Add a Comment

Login with GitHub to post a comment