Greetings to our dear and beloved Joomla community, how are you doing? How's the weather?
It's summer outside my window, and summer is a great time to update one’s extensions.
That's what I decided to do and encountered a number of issues related to plugin triggers.
Overall, I liked the idea that in a system plugin I could enjoy using it, but not all new triggers are available in Joomla 4, some just don't exist, and others are not accessible from the system plugin in Joomla 4.
It's particularly disappointing that in Joomla 4, unlike Joomla 5, I can't add authentication functions to the system plugin, and I really wanted to be able to access client sites in the shortcode plugin.
But I'm getting ahead of myself, my apologies, let's get to the specifics.
About the triggers:
Labels |
Added:
No Code Attached Yet
|
You understood correctly. However, in the given example, this is a problem of compatibility between Joomla 4 and Joomla 5 plugins.
To simplify, a plugin written for Joomla 4 will not work in Joomla 5, and vice versa, a plugin written for Joomla 5 will not work in Joomla 4.
You either have to check the Joomla version in the plugin and create two independent methods, or create two separate plugins.
And this can cause unpleasant problems during the update after the end of Joomla 4 support.
As for languages, it actually looks more like a bug.
You either have to check the Joomla version in the plugin and create two independent methods, or create two separate plugins.
This is what I would expect
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-07-28 21:27:32 |
Closed_By | ⇒ | Hackwar |
All the things you are requesting are new features in Joomla 4 and Joomla 4 IS in Bugfix Mode only. With the release of 5.2 we will even switch Joomla 4.4 into security fixes only mode, so none of these things will be refactored.
Can you confirm that I have understood correctly. You can do something in joomla 5 but you cannot do the same in Joomla 4. If I have understood correctly then I would call that expected behaviour. New features are added in new releases. Bugs are fixed in all releases.