Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6928 closed enhancement (fixed)

Choosing a template. Request attached files support

Reported by: pnzhdin@… Owned by: abompard
Priority: low Component: OdtExportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

At http://trac-hacks.org/wiki/OdtExportPlugin#Choosingatemplate written:

The default template is named wikipage.odt. You can use a custom template by creating a file
with this name and putting it in the templates directory of your Trac instance. This template
will be used by default for all the pages.

You can also create other ODT files to be used as templates, and put them in the same
directory. Then, you can use a special macro in the wiki page to choose the template. This
macro is OdtTemplate and can be used as such: [[OdtTemplate(my_other_template)]]. The .odt
suffix will be appended, don't put it in the macro.

Is it possible that template odt files are get from attached files at current page too ?

Attachments (0)

Change History (3)

comment:1 Changed 4 years ago by abompard

  • Status changed from new to assigned
  • Type changed from task to enhancement

That's a good question, I don't know how to list or extract attachments (yet !) but I could look into that.

comment:2 Changed 4 years ago by abompard

  • Resolution set to fixed
  • Status changed from assigned to closed

I did it in r7810, and it seems to work ! Can you confirm ?

comment:3 Changed 4 years ago by pnzhdin@…

Thanks, works for me!

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.