====== <#get_pageCfg_content> ======
Use this function to get the content of a page configuration (in xml)
==== 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/ |
| 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 |
| 114 | Page not found |
==== Example ====
<#get_pagecfg_content page_id="/real-estate/">
will output in **REST**
...
And in **JSON**
{
"stat":"ok",
"content":"..."
}