Can anyone tell me what I'm doing wrong? My renderer plugin won't run, and I don't think it's loaded at all. If I add an obvious syntax error, it doesn't interfere with Doku's rendering.
The filename is renderer.php. It's in the top level directory of my plugin. The code roughly looks like this:
<?php
if (!defined('DOKU_INC')) die();
if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
require_once DOKU_INC . 'inc/parser/xhtml.php';
class renderer_plugin_mypluginname extends Doku_Renderer_xhtml {
function canRender($format){
return $format == 'xhtml';
}
function internallink($id, $name = null, $search = null, $returnonly = false, $linktype = 'content') {
return 'BAD PLUGIN!';
}
}