modmore / ClientConfig

ClientConfig is a MODX Revolution Extra to allow clients to maintain settings in a user friendly way.
https://docs.modmore.com/en/Open_Source/ClientConfig/index.html
MIT License
29 stars 27 forks source link

Creating event #117

Closed Daruse93 closed 7 years ago

Daruse93 commented 7 years ago

What does it do ?

Creating new event «OnConfigChange»

Why is it needed ?

In order to find out the changes in the configuration via plugin

Mark-H commented 7 years ago

Thanks @Daruse93. I think the resolver may need some tweaks to prevent it from creating lots of modEvent instances when reinstalling/updating the package, but I can sort that out.

Mark-H commented 7 years ago

Thanks @Daruse93.

I did rename the event to ClientConfig_ConfigChange to be consistent with plugin names in other modmore extras, and changed the build a bit.