How can I save template to a file?
My module loads a template from /templates/ folder and displays in Admin's TextArea with
Code: Select all
$this->GetTemplateFromFile('templatename');
But how can I save template back to the same file after changes are Submited, besides writing my own function?
I found only SetTemplate() method, which updates only template inside database.
Thanks.