Hello,
I need to change the "Last Modified By" in the lower right corner to the
full name instead of the user name. I have tried to trace back through
This is done in inc/template.php:tpl_pageinfo()
the code to figure this out, but got confused after dereferencing about
five levels.
It's not that bad. I find the code very structured and readable.
The template calls tpl_pageinfo() directly. What you are looking for is coded there: if($INFO['editor']){ print ' '.$lang['by'].' '; print $INFO['editor']; }
You COULD replace above code in template.php with:
global $auth; $userinfo = $auth->getUserData($INFO['editor']); if ($userinfo['name']){ print $userinfo['name']; }else{ print $INFO['editor']; }
Oliver Geisen _____________________________ Systemadministrator Kreisboten Verlag Mühlfellner KG 82362 Weilheim i. Ob. Tel. 0881/686-904 Fax 0881/686-74
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist