Hello,just to warm this up: I've had the same problems when generating pages "from scratch" (outside dokuwiki). I've solved this by patching template.php with:
----------------------------------- --- template.php 2007-08-21 09:24:21.000000000 +0200 +++ template.php.orig 2007-08-21 09:21:31.000000000 +0200 @@ -698,10 +698,10 @@ $parts = explode(':', $ID); $count = count($parts); - if($lang['youarehere']) echo $lang['youarehere'].': '; + echo $lang['youarehere'].': '; // always print the startpage - $title = p_get_first_heading($conf['start'],true); + $title = p_get_first_heading($conf['start']); if(!$title) $title = $conf['start'];tpl_link(wl($conf['start']),hsc($title),'title="'.$conf ['start'].'"');
@@ -716,7 +716,7 @@ // output echo $sep; if($exists){ - $title = p_get_first_heading($page,true); + $title = p_get_first_heading($page); if(!$title) $title = $parts[$i]; tpl_link(wl($page),hsc($title),'title="'.$page.'"'); }else{ @@ -730,7 +730,7 @@ if($page == $conf['start']) return; echo $sep; if(@file_exists(wikiFN($page))){ - $title = p_get_first_heading($page,true); + $title = p_get_first_heading($page); if(!$title) $title = $parts[$i]; tpl_link(wl($page),hsc($title),'title="'.$page.'"'); }else{ -----------------------------------The first part of the patch only shows youarehere (in current language) if it is really defined. (i don't define it, because i don't want any text in front of the hierarchical crumbs) The second part adds "true" to each p_get_first_heading() call to force generating metadata for all pages who's H1 needed.
Oliver Geisen Systemadministrator _____________________________ Kreisboten Verlag Mühlfellner KG 82362 Weilheim i. Ob. Tel. 0881/686-904 Fax 0881/686-74 Sitz Weilheim, AG München, HRA 64016, p.h.G.: Kreisboten-Verlag Verwaltungsgesellschaft mbH, Weilheim, AG München, HRB 119773, Geschäftsführer: Dr. Dirk Ippen, Dr. Gerd Waldenmaier -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist