$path= str_replace('lib/tpl/arctic/','',DOKU_TPLINC); $author = p_get_metadata($ID,'creator'); $authorpage = 'data:pages:fr:auteur:'. str_replace(' ', '_',strtolower('biographie')); $uri = $path . str_replace(':','/',$authorpage) . '.txt'; print p_render('xhtml', p_get_instructions(io_readFile($uri)), $info);