Changes between Initial Version and Version 3 of Ticket #11
- Timestamp:
- 04/30/11 08:53:06 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11
- Property Status changed from new to accepted
- Property Owner set to Aurelien
-
Ticket #11 – Description
initial v3 4 4 1. add to odt/conf/default.php 5 5 6 $conf['tpl_template'] = 'my_custom_template.odt'; //comment this line to not use any template 6 `$conf['tpl_template'] = 'my_custom_template.odt'; //comment this line to not use any template` 7 7 8 8 2. add to odt/conf/metadata.php 9 9 10 $meta['tpl_template'] = array('string'); 10 `$meta['tpl_template'] = array('string');` 11 11 12 3. edit function document_end() in odt/renderer.php: (around line 250)12 3. edit function `document_end()` in `odt/renderer.php`: (around line 250) 13 13 14 {{{ 15 #!patch 14 16 function document_end(){ 15 17 + if (!$this->template) { // if no template chosen in current page, get default template from config … … 18 20 + 19 21 if ($this->template) { // template chosen 22 }}}

