Is it possible to make it visible (on site activity) when an user edits a page?

Is there a simple way to get a notification on the site activity when an user updates or edits a page or sub-page using the pages plugin? I'm using Elgg 2.2.3

  • You have the following options:

    1. In your custom plugin, register an event handler as on example below

    elgg_register_event_handler('update', '<entity type>', '<my_event_listener>');
    function my_event_listener($event, $object_type, $object) {
        // add code for notification on river

    2. Unregister the "pages/edit" action and register your own, so you can include any changes you wish.

    But I should suggest the 1st solution