User Tools

Site Tools


dokuwiki:start

dokuWiki

Remove site name from the headder

In the file: <your-wiki>/lib/tpl/dokuwiki/tpl_header.php replace:

// display logo and wiki title in a link to the home page
tpl_link(
  wl(),
  '<img src="'.$logo.'" '.$logoSize[3].' alt="" /> <span>'.$conf['title'].'</span>',
  'accesskey="h" title="[H]"'
);

with:

// display logo and wiki title in a link to the home page
tpl_link(
  wl(),
  '<img src="'.$logo.'" '.$logoSize[3].' alt="" /> <span></span>',
  'accesskey="h" title="[H]"'
);

After refresh you will see only graphical logo and no site name on your pages.

dokuwiki/start.txt · Last modified: 2014/06/28 02:49 (external edit)