Feature PR-6.1-dev Pending

User tests: Successful: Unsuccessful:

avatar janschoenherr
janschoenherr
29 Jan 2026

Summary of Changes

Currently it's not possible to manipulate the result within the onAfterDisplay event of the HtmlView class.
The event was introduced here: e8dfbb4

This change makes it possible to change the output of a template script and have the changed output cached with Joomla's progressive caching enabled.

Testing Instructions

No test instructions. No views should be affected.

Actual result BEFORE applying this Pull Request

This change should not cause any change in Joomla's behavior.

Expected result AFTER applying this Pull Request

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar janschoenherr janschoenherr - open - 29 Jan 2026
avatar janschoenherr janschoenherr - change - 29 Jan 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Jan 2026
Category Libraries
avatar janschoenherr janschoenherr - change - 29 Jan 2026
Title
[6.1] Use result of onAfterDisplay event
[6.1] Echo result of onAfterDisplay event
avatar janschoenherr janschoenherr - edited - 29 Jan 2026
avatar rdeutz
rdeutz - comment - 29 Jan 2026

Conflict with #46770 as far as I see it.

avatar janschoenherr
janschoenherr - comment - 29 Jan 2026

I will rebase the commit once the other PR is accepted.

avatar janschoenherr janschoenherr - change - 29 Jan 2026
Labels Added: Feature PR-6.1-dev
avatar janschoenherr
janschoenherr - comment - 29 Jan 2026

It's resolved now 👍

avatar chaitali-tekdi chaitali-tekdi - test_item - 30 Jan 2026 - Tested successfully
avatar chaitali-tekdi
chaitali-tekdi - comment - 30 Jan 2026

I have tested this item ✅ successfully on 26d40d0

I tested this issue, and it was tested successfully.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46771.

avatar tecpromotion tecpromotion - alter_testresult - 30 Jan 2026 - chaitali-tekdi: Tested successfully
avatar komalm komalm - test_item - 31 Jan 2026 - Tested successfully
avatar komalm
komalm - comment - 31 Jan 2026

I have tested this item ✅ successfully on d22b0ac


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46771.

avatar Denitz
Denitz - comment - 31 Jan 2026

Please note that it was rejected 3 years ago: #41506
To be honest, it's a 101% required PR and it should be merged.

avatar janschoenherr
janschoenherr - comment - 2 Feb 2026

@Denitz Thanks, we could also reopen your PR. The import thing to note is that there is no way to modify the output and store that modification in the cache.

avatar Denitz
Denitz - comment - 2 Feb 2026

No need to open my PR, let's use yours - the fresh one.

Add a Comment

Login with GitHub to post a comment