id	summary	reporter	owner	description	type	status	priority	version	resolution	keywords	cc
11	add template option in config	Berteh	Aurelien	"I hacked the plugin to add a “template” option in config, could you please integrate in trunk?


1. add to odt/conf/default.php

`$conf['tpl_template'] = 'my_custom_template.odt'; //comment this line to not use any template`

2. add to odt/conf/metadata.php

`$meta['tpl_template']   = array('string');`

3. edit function `document_end()` in `odt/renderer.php`: (around line 250)

{{{
#!patch
function document_end(){
+      if (!$this->template) { // if no template chosen in current page, get default template from config
+           $this->template=$this->getConf(""tpl_template"");
+      }
+
       if ($this->template) { // template chosen
}}}"	enhancement	accepted	major				berteh@…
