[5.4] mod_articles conditional readmore#47263
Merged
muhme merged 2 commits intojoomla:5.4-devfrom Mar 5, 2026
Merged
Conversation
Signed-off-by: BrianTeeman <brian@teeman.net>
Member
@brianteeman Sure 2 times the same? |
Contributor
Author
|
@richard67 oops typo - i have updated the instructions |
|
I have tested this item ✅ successfully on 3b88644 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47263. |
1 similar comment
Contributor
|
I have tested this item ✅ successfully on 3b88644 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47263. |
Contributor
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47263. |
Contributor
|
✅ Final test before merge using JBT
|
Contributor
|
Thank you @brianteeman for your contribution. Thanky you @richard67 for supporting this PR. Thank you @dautrich and @LadySolveig for testing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request resolves #47260.
Summary of Changes
Only show the readmore if there is something more to read
Testing Instructions
Create two articles. One with a readmore and one without a readmore
Create a module-articles to display these articles AND make sure you set to display introtext and readmore
Actual result BEFORE applying this Pull Request
Read more link is always displayed

Expected result AFTER applying this Pull Request
Read more link is only displayed if there is something to read more

Note
The issue is for 6.0 but as this module is intended to replace the existing content modules this is unexpected behaviour and I woujld call this a bug - hence I made the pr against 5.4
Link to documentations
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed