|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
jbv98 Smarty n00b
Joined: 07 Feb 2016 Posts: 1
|
Posted: Sun Feb 07, 2016 1:17 am Post subject: Using MS Word .docx as Template |
|
|
I'm pretty new to Smarty, so forgive me if this is a stupid question. I'd like to use a .docx document as a template, and I'm having hard time figuring out how to do this. Does anyone have any sample code that might help me along. I've tried using the MIME type for .docx files in the header after loading the template, but the file is corrupted and can't be opened. Any help or pointers would be greatly appreciated. Thanks! |
|
Back to top |
|
elpmis Smarty Elite
Joined: 07 Jun 2007 Posts: 321
|
Posted: Sun Feb 07, 2016 1:44 pm Post subject: |
|
|
Maybe you should explain a little bit more what you've tried (sources, templates and so on)... |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Sun Feb 07, 2016 4:59 pm Post subject: |
|
|
DOCX is a ZIP archive. You can't use it for template. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|