====== <#set_UrlResources_content> ======
Use this function to set the content of a url configuration. More details about url configuration file can
be found [[http://doc.arkadia.com/doku.php?id=en:public:developer:template_system:urlresources|here]]
==== Parameters ====
Parameters are taken from tag (default) or from HTTP GET/Post
^ Name ^ Mandatory ^ Default ^ Description ^
| page_id | Yes | | The id of the page Ex: /real-estate/ |
| content | Yes | | The raw content of the configuration for page_id |
| output_format | No | REST | **JSON** to retrieve response in [[en:public:developer:template_system:tags:api:JSON_Response_Format|JSON Format]] or **REST** to retrieve in [[en:public:developer:template_system:tags:api:REST_Response_Format|REST Format]] |
| jsoncallback | No | | Callback function to use in [[en:public:developer:template_system:tags:api:JSON_Response_Format|JSON Response Format]] |
==== Error Codes ====
^ Code ^ Description ^
| 1 | Insufficient rights. You must be logged as an admin to see logs |
| 119 | Wrong params |
==== Example ====
<#set_UrlResources_content page_id="/real-estate/" content="...">
will output in **REST**
And in **JSON**
{"stat":"ok"}