[dokuwiki] Re: plugin render() called multiple times for metadata?

  • From: "Mikhail I. Izmestev" <izmmishao5@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 28 May 2009 01:18:38 +0500

Chris None wrote:
> 1. Should my _saveToDb() function be called from render(), or am I doing
> this wrong? Any other suggestions on where the best place to save the
> metadata to a database is? 
Best place is when page is writing to disk.
> Why is the metadata rendered twice?
>   
when you set $conf['useheading'] not 0, name of links to this page will
be taken from metadata, but if page contain only heading and no any
metadata, metadata will be rendered every time.
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: