Christopher Smith wrote: > Title isn't placed in metadata by p_set_metadata(), it is created as > part of the metadata renderer (inc/parser/metadata.php:74), the first > header found in the wiki page becomes the title. The code that does > this isn't effected by the "useheading" setting. > > The "title" tag has been part of metadata since its inception. If your > metadata doesn't have the "title" tag and your pages have headings, > something seems to have gone wrong with the metadata generation or its > later manipulation. A first step in fixing the problem would be to > expire your cache (update your conf/local.php) and spider your wiki to > force recreation of transient metadata for every page. Hi Chris! I've read the maillist rules. Thank you for pointing that! Sometimes it's not easy to overcome the habits. Indexmenu plugin uses the simple construction, the same as parserutils.php:620:p_get_first_heading(): if ($conf['useheading'] && $title_tmp=p_get_metadata($page,'title')) $title=$title_tmp; I have removed all "*.meta" files from data/ directory. After the refresh I looked into newly created .meta file: 'title' is not there. I noticed, that Doku_Renderer_metadata:73:header() is never called. I am using the following plugin as a extension for build-in headers: http://wiki.jalakai.co.uk/dokuwiki/doku.php/tutorials/header As I understand, if plugin overrides some build-in functionality, the rendrer's header() is never called? Basically, I need to check in plugin:header if (metadata is being rendered) { if (!$this->meta['title']) $this->meta['title'] = $text; if ($this->capture && ($level > 1)) $this->doc .= DOKU_LF.$text.DOKU_LF; } What is the best way to do so? Check if instance of $renderer is Doku_Renderer_metadata class? I am not sure what $this->capture means. Maybe "dump text for indexing"? Thanks for your help! -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist