Dear Couchies,
I am generating a JSON from a cloned page. The code is:
The template is/has:
1. Clonable
2. Dynamic folders
I want to order the output of pages by using the DYNAMIC FOLDER NAMES. HOw can that be done? is that possible?
Regards,
GenXCoders
I am generating a JSON from a cloned page. The code is:
- Code: Select all
{
"news":
[
<cms:pages masterpage="news-image.php" skip_custom_fields='0' >
{
"image":"<cms:set s_link = "<cms:embed 'securefile_link.html' />" /><cms:if s_link ><cms:show s_link /></cms:if>",
"headline":"<cms:addslashes><cms:show k_page_title /></cms:addslashes>",
"newsid":"<cms:addslashes><cms:show k_page_id /></cms:addslashes>",
"category":"<cms:addslashes><cms:show k_page_foldertitle /></cms:addslashes>"
}<cms:if "<cms:not k_paginated_bottom />">,</cms:if>
</cms:pages>
]<cms:if "<cms:not k_paginated_bottom />">,</cms:if>
}
The template is/has:
1. Clonable
2. Dynamic folders
I want to order the output of pages by using the DYNAMIC FOLDER NAMES. HOw can that be done? is that possible?
Regards,
GenXCoders