modxcms/revolution — pull request #703 by jkenters (2013-11-08 20:31:55+00:00)
Title: Added OnElementNotFound system event

Allows a plugin to provide the element (chunk/snippet) like this:

```php
newObject('modChunk');
$chunk->set('name', $name);
$chunk->set('snippet', 'Output of the chunk');
$modx->event->_output = $chunk;
}
return;
```