Back to my blog Back to my projects

Dokuwiki ODT plugin

Changes between Initial Version and Version 3 of Ticket #11


Ignore:
Timestamp:
04/30/11 08:53:06 (2 years ago)
Author:
Aurelien
Comment:

I'm starting to work on that.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11

    • Property Status changed from new to accepted
    • Property Owner set to Aurelien
  • Ticket #11 – Description

    initial v3  
    441. add to odt/conf/default.php 
    55 
    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` 
    77 
    882. add to odt/conf/metadata.php 
    99 
    10 $meta['tpl_template']   = array('string'); 
     10`$meta['tpl_template']   = array('string');` 
    1111 
    12 3. edit function document_end() in odt/renderer.php: (around line 250) 
     123. edit function `document_end()` in `odt/renderer.php`: (around line 250) 
    1313 
     14{{{ 
     15#!patch 
    1416function document_end(){ 
    1517+      if (!$this->template) { // if no template chosen in current page, get default template from config 
     
    1820+ 
    1921       if ($this->template) { // template chosen 
     22}}}