I could well be wrong about Wayfinder's behavior in Revolution, in fact now that I think about it, I'm sure I am.
BTW, this is handy for debugging plugins:
function my_debug($message, $clear = false) {
/* @var $chunk modChunk */
global $modx;
$chunk = $modx->getObject('modChunk', array('name'=>'debug'));
if ($clear) {
$content = '';
} else {
$content = $chunk->getContent();
}
$content .= $message;
$chunk->setContent($content);
$chunk->save();
}
You need to create a chunk called 'debug'
Just do something like this:
my_debug("\nHTML: " . $html . "\nFILE: " . $file, true);
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html