Quote from: seventhapex at Jan 25, 2007, 06:04 PM
wouldn’t onManagerPageinit() run the plugin three times due to the frames page in the manager?
You are correct, the OnManagerPageInit event is called AFTER the frameset request is sent.
Soooo.... what you can do is have your plugin check that [tt]$action != ’1’[/tt] (1 is a frame request), then do your processing. If it is 1, then stop processing.
Your plugin code would look like this...
<?php
if ($action == 1) return; // Don't run on frame request
// Put all your M.A.D. testing code here...
?>
By the way, I’ve been slowly working on the Event System Documentation for the wiki, but haven’t had time to do all the research. The great part is: anyone can edit the wiki. So any info you find out, feel free to post it to the wiki
Also, I look forward to this plugin being developed, I have a use for it...