2

Am creating a module for listing the online admin users, for that i need to update a last_activity_time (custom field of admin user).On each activity of admin user current time will be updated on last_activity_time column. I am planing to consider the users who's last_activity_time is with in few minutes from current time(say 5 minutes). Is there any observer hook available for listening to all activities of admin user ?

0

From here, you should be able to use controller_action_postdispatch_adminhtml for your module.

3

You can use adminhtml_controller_action_predispatch_start event for all page request.

Refer this file

All admin controller files are extends form Mage_Adminhtml_Controller_Action class. So here you can hook predispatch event for all admin request.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.