I've tried pasting that code at the top of the
tpl_pagetitle[/m] function of [m]template.php:
function tpl_pagetitle($id=null, $ret=false){
global $ID;
if($ID != $conf['start']) {
tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"');
}
global $conf;
if(is_null($id)){
global $ID;
$id = $ID;
}
and replacing the
global $ID; with it:
function tpl_pagetitle($id=null, $ret=false){
global $conf;
if(is_null($id)){
global $ID;
if($ID != $conf['start']) {
tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"');
}
$id = $ID;
}
I can paste the code in pastebin if you like, but that's basically what I've done up there.