How can I do something every time an administrator clicks on the Security tab?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
adds some unobtrusive jQuery I'd image, add the requirement into the init of the leftandmain object.
No, I want to do something server-side.
For example log something everytime the security tab is clicked on:
file_put_contents('log.txt','hello');
no?
use an ajax request in jQuery then