Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#6928 closed enhancement (fixed)

Choosing a template. Request attached files support

Reported by: entend Owned by: Aurélien Bompard
Priority: low Component: OdtExportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


At 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 8 years ago by Aurélien Bompard

Status: newassigned
Type: taskenhancement

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 8 years ago by Aurélien Bompard

Resolution: fixed
Status: assignedclosed

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

comment:3 Changed 8 years ago by entend

Thanks, works for me!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Aurélien Bompard.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.