Welcome Guest, Not a member yet? Register   Sign In
Hooks and XHR
#1

[eluser]dionysus[/eluser]
I'm trying to create an Audit library that will log users' activities to a db.

I've created the lib (moar like copy/pasted/modified Profiler.php) and am hooking into it. I hoped that post_controller or post_system would allow the library to run on calls to a controller. It appears, though, that the hook only activates on a full page load. e.g. when I log into the site, that Audit is logged to the db. However, using XHR to call a controller does not trigger the hook.

Is there a way to make this work?


Messages In This Thread
Hooks and XHR - by El Forum - 11-15-2011, 01:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB