.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. ================================================== .. DEFINE SOME TEXTROLES .. -------------------------------------------------- .. role:: underline .. role:: typoscript(code) .. role:: ts(typoscript) :class: typoscript .. role:: php(code) Add a link in your Typoscript Template using getDocTarget ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you just need the target of the docx link, you can use the function getDocTarget. Amongst other things this can be useful with templavoila. Example: :: lib.docxlink = USER_INT lib.docxlink.userFunc = tx_doccreator->getDocTarget lib.docxlink.userFunc.include_post_vars = 1