Hi, I have just installed this macro and reading the doco on it, it says "Word template can be customized. Extract pageTreeWordExport.vm from the jar file, create directory $CONFLUENCE_HOME/WEB-INF/classes/templates and copy the files here. After any customization you make to this file, Confluence must be restarted." See: http://www.meta-inf.hu/wiki/display/PLUG/Confluence%20Pagetree%20Word%20Exporter
Can anyone explain to me how to go about this as I have no idea and there doesn't seem to be any doco out there? Thanks
Well I confirmed that modifying the 'exportword.vm' works. Any changes to this file will display in the exported document. However changes made to the pageTreeWordExport.vm will not change anything in the subpages that are exported... Not sure what is going on there... probably has something to do with this:
$CONFLUENCE_HOME/WEB-INF/classes/templates
If anyone can figure this out I would also like some more guidance. Here is what I tried:
I'm guessing the 'exportword.vm' is the top page and 'pageTreeWordExport.vm' is the subtree pages. I've done these steps without much luck. However I'm trying to get the Title to display on the subtree pages. The content will display but not the page title. It looks like it should but doesn't.
I changed this line:
<h1>$pageContent.title</h1>
to this:
<h1>$!pageContent.title</h1>
and still no go.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.