Conversation
…e and PreferencesPresenter
…pdate displayed categories logic - fix: doRender() needs $page to only return the Html content for overview page
…e overview plugins
… grouping of available plugins in PluginsPresener
…must be retrieved again by geInstance()
…ion for overview plugins
These are false positives. The keys are used in the overview plugin json-Files. |
This translation key is correctly detected as unused. I just implemented it for later usage. |
|
Thanks, that's a great new feature for Admidio, which has been missing for quite some time! A few ideas for improvement, though:
Now that a plugin system is in place, I guess I'll try to spend some more time on the hooks/actions implementation (#1899, which is only a proof-of-concept with AI-generated code, but not polished code ready for inclusion), which would allow easy Wordpress-style customization of the inner workings of admidio. That would allow tweaking or extending admidio without modifying the core code (e..g the user change notifications could then be moved out from the core code to a simple plugin that registers some hooks whenever a user or database entry is changes. These hooks would then send the notification mails, and the core code can stick to the basics. Similarly, one could easily adjust headings, page appearances, etc.). Plugins registering such hooks would not need any classes, just the hook functions and their registration in the main plugin .php file. |
|
@kainhofer: Currently there is no disabling functionality because for me it was not clear how to realize it. In my opinion in this state of implementation it's enough to have the disable functionality through the settings if provided by the plugin itself. |
|
About the disable functionality: Once there is a public plugin system in place with plugins that are not distributed together with the core, you always have to assume that there are plugins that will break the whole system (e.g. outdated code, bad coding, etc.). In that case, the plugin system needs to disable the plugin to allow admidio to function. |
@kainhofer: |

This PR introduces the new Plugin Manager for Admidio.
It provides a simple user interface and standardized procedures for
plugins in Admidio.
For more informations see the PluginManager-Wikipage.
closes #735 , closes #541, closes #1643, closes #1819