Skip to content

Instantly share code, notes, and snippets.

@babsgosgens
Forked from ItsReaSz/Single event details.json
Created September 28, 2018 08:16
Show Gist options
  • Save babsgosgens/17c78b57bb0f94a0f2b19a3ff4645e08 to your computer and use it in GitHub Desktop.
Save babsgosgens/17c78b57bb0f94a0f2b19a3ff4645e08 to your computer and use it in GitHub Desktop.
{
"name": {
"en-GB": "Single article"
},
"description": {
"en-GB": "Single article output – header and body"
},
"template": "containers/global/group/group.html.twig",
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"crown": {
"value": "",
"control": "project/crown"
},
"container_tag": {
"value": "article",
"control": "project/container_tag"
},
"container_class": {
"value": "",
"control": "project/container_class"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Article headline"
},
"description": {
"en-GB": "Article headline"
},
"template": "containers/articles/headline/headline.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Resource"
},
"controls": {
"data": {
"control": "project/model/article",
"value": {
"adapter": "SCR",
"model": "articles",
"id": "{id}"
}
},
"analysis": {
"value": "true",
"control": "project/model/analysis"
},
"includeRelated": {
"value": "true",
"control": "project/model/include_related"
}
}
}
},
"frontender": "4ab9d027d6b0ba9ef60db2b22a14a213"
},
{
"name": {
"en-GB": "Body"
},
"description": {
"en-GB": "Article body"
},
"template": "containers/articles/body/body.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Resource"
},
"controls": {
"analysis": {
"value": "true",
"control": "project/model/analysis"
},
"includeRelated": {
"value": "true",
"control": "project/model/include_related"
},
"data": {
"control": "project/model/article",
"value": {
"adapter": "SCR",
"model": "articles",
"id": "{id}"
}
}
}
}
},
"frontender": "7cb79bbd8a1ec43708e19c1dd537b1bf"
}
],
"frontender": "1cd9b7e05c9cf4f9dffb199e53700dde"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment