User tests: Successful: Unsuccessful:
Pull Request resolves #45809 .
New for #45813 which was closed and removed by mistake. sorry for that.
Added event onContentPrepare to mod_articles
see #45809
Use a plugin which uses onContentPrepare.
For a test you can use this plugin (AI generated, for this test only). It adds a line "hi there" into articles if there is some text to display.
prtest.zip
When you apply the PR, please check different combinations of display params in mod_articles.
onContentPrepare is not triggered
onContentPrepare is triggered if a text exists
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
| Status | New | ⇒ | Pending |
| Category | ⇒ | Language & Strings Modules Front End |
| Labels |
Added:
Language Change
PR-5.4-dev
|
||
I have tested this item ✅ successfully on 05b1100
| Status | Pending | ⇒ | Ready to Commit |
RTC
| Labels |
Added:
RTC
bug
|
||
✅ Final test before merge with JBT
onContentPrepare| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-04-01 15:19:35 |
| Closed_By | ⇒ | muhme |
Thank you very much @chmst for your contribution. Thanks to @ramalama and @LadySolveig for testing.
I have tested this item ✅ successfully on 05b1100
Tested with my custom template. Before: No onContentPrepare Event was fired. After: Event was fired and I could sucessfully hook into it.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/47467.