0

My user plugin, "Myplugin", works. I have extra parameters in the plugin that can be set in the Plugin Manager (Menu: Extensions / Plugins / MyPlugin). Those are stored in the database when using the Save button. Joomla core handles this.

Now I want to encrypt some values, before they get stored in the database. I suppose, this should be done on an event that fires when using the Save button in the Plugin Manager.

I've been trying to search for an event, but without success. Which one must I include in my plugin or is there another way to achieve this?

4
  • onExtensionBeforeSave is the event that you need.
    – Lodder
    Commented Mar 25, 2020 at 11:51
  • That event is not called on a User plugin...
    – PWRM
    Commented Mar 25, 2020 at 12:54
  • Can you not just write an accompanying system plugin which will get triggered by that event? Commented Mar 26, 2020 at 22:17
  • That is an idea. It is far from ideal but it is a solution. Thanks.
    – PWRM
    Commented Mar 30, 2020 at 7:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.