Where/what is the Page::save() (or equivalent) function
Permalink
I am trying to find a way to call a custom routine when a page is updated. For example, if I change a page attribute, when I save the change I need to call a function that registers that change in another database.
I can't seem to find what function does the actual saving of the page, or how I can extend/override it or put a hook into the save function, wherever it is.
I have tried various alternatives such as creating "collectionVersions" as a view, adding triggers to "collectionVersions", and other hack-ish solutions, but none have worked.
Can anyone suggest how I might do this?
Thanks
I can't seem to find what function does the actual saving of the page, or how I can extend/override it or put a hook into the save function, wherever it is.
I have tried various alternatives such as creating "collectionVersions" as a view, adding triggers to "collectionVersions", and other hack-ish solutions, but none have worked.
Can anyone suggest how I might do this?
Thanks
https://documentation.concrete5.org/developers/application-events/ov...