This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:api:set_wwwfile_content [2013/03/09 02:09] admin [Parameters] |
en:public:developer:template_system:tags:api:set_wwwfile_content [2013/04/17 23:06] (current) svanderclock [<#set_wwwfile_content>] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== <#set_wwwfile_content> ====== | ====== <#set_wwwfile_content> ====== | ||
- | Use this function to set the content of a template file | + | Use this function to set the content of a template file. When "content" and "reverTo" are not present then |
+ | a new file will be created | ||
==== Parameters ==== | ==== Parameters ==== | ||
+ | |||
+ | Parameters are taken from tag (default) or from HTTP GET/Post | ||
^ Name ^ Mandatory ^ Default ^ Description ^ | ^ Name ^ Mandatory ^ Default ^ Description ^ | ||
Line 16: | Line 18: | ||
^ Code ^ Description ^ | ^ Code ^ Description ^ | ||
| <html><span style="color:#008000">1</span></html> | Insufficient rights. You must be logged as an admin to see logs | | | <html><span style="color:#008000">1</span></html> | Insufficient rights. You must be logged as an admin to see logs | | ||
+ | | <html><span style="color:#008000">103</span></html> | File already exists | | ||
| <html><span style="color:#008000">114</span></html> | File not found | | | <html><span style="color:#008000">114</span></html> | File not found | | ||
- | + | | <html><span style="color:#008000">119</span></html> | Wrong params | | |
- | + | ||
==== Example ==== | ==== Example ==== | ||