Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Burick/6e9619b95cc13918fec294defc4e19c7 to your computer and use it in GitHub Desktop.
Save Burick/6e9619b95cc13918fec294defc4e19c7 to your computer and use it in GitHub Desktop.
Example of JSON config file consumed by sample_json_export.php script.
[
{
"class": "modSnippet",
"where": [
{
"name:=": "SomeCustomSnippet"
}
],
"toWhere": "create"
},
{
"class": "modChunk",
"where": [
{
"name:=": "blog_item.tpl"
}
],
"toWhere": "create"
},
{
"class": "modTemplate",
"where": [
{
"id": 1
}
],
"toWhere": "update"
},
{
"class": "modResource",
"where": [
{ "pagetitle:=": "Resource Pagetitle" }
,{ "deleted:=": 0 }
],
"toWhere": [
{
"id:=": 10
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment