Can i run a snippet from an anchor tag?
something along the lines of:
$output .= "<a $modx->runsnippet[’ClockInOut’]>".$status."</a>";
or
$output ."<a href=index.php?id=".$modx->documentIdentifier." onclick= ".$modx->runSnippet[’ClockInOut’].">".$status."</a>";
the above both don’t seem to work, the snippet runs when the page is refreshed, without having to click on the link