Skip to content

Instantly share code, notes, and snippets.

@chucktrukk
Created December 22, 2010 17:32
Show Gist options
  • Save chucktrukk/751802 to your computer and use it in GitHub Desktop.
Save chucktrukk/751802 to your computer and use it in GitHub Desktop.
[ { "desc" : "Use the default parameter to have this Snippet redirect to the Resource specified in cases where there is no children. It can be a Resource ID or one of : site_start, site_unavailable_page, error_page, unauthorized_page.",
"desc_trans" : "Use the default parameter to have this Snippet redirect to the Resource specified in cases where there is no children. It can be a Resource ID or one of : site_start, site_unavailable_page, error_page, unauthorized_page.",
"lexicon" : null,
"menu" : null,
"name" : "default",
"options" : "",
"overridden" : false,
"value" : "site_start",
"xtype" : "textfield"
},
{ "desc" : "Get the first child depending on this sort order. Can be any valid MODx document field name.",
"desc_trans" : "Get the first child depending on this sort order. Can be any valid MODx document field name.",
"lexicon" : null,
"menu" : null,
"name" : "sortBy",
"options" : "",
"overridden" : false,
"value" : "menuindex",
"xtype" : "textfield"
},
{ "desc" : "Sort `ASC` for ascendant or `DESC` for descendant.",
"desc_trans" : "Sort `ASC` for ascendant or `DESC` for descendant.",
"lexicon" : null,
"menu" : null,
"name" : "sortDir",
"options" : [ { "name" : "ASC",
"value" : "ASC"
},
{ "name" : "DESC",
"value" : "DESC"
}
],
"overridden" : false,
"value" : "DESC",
"xtype" : "list"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment