Search code examples
template-toolkit

Can I redirect output from TPAGE


I want tpage to redirect the output to a different file. The redirect filter seems almost to do what I want but when I use it I get :

redirect error - OUTPUT_PATH is not set

Can I set OUTPUT_PATH using tpage?


Solution

  • this doesn't seem to be possible at the moment. what you could do is apply this patch to tpage / tpage.bat, and specifiy the output_path on the command line then, like

    tpage --output_path=DIR [files]