Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 27, 2018 08:47
Show Gist options
  • Save ItsReaSz/5784ee5894dbcdfd0023930e58bbe8d9 to your computer and use it in GitHub Desktop.
Save ItsReaSz/5784ee5894dbcdfd0023930e58bbe8d9 to your computer and use it in GitHub Desktop.
{
"template": "containers/global/group/group.html.twig",
"name": {
"en-GB": "Three columns of channel articles"
},
"description": {
"en-GB": "Container with three channel columns, each containing a list of articles"
},
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "section",
"control": "project/container_tag"
},
"wings": {
"value": "wings",
"control": "project/wings"
},
"leader": {
"value": "",
"control": "project/leader"
},
"leader_inside": {
"value": "",
"control": "project/leader_inside"
},
"trailer": {
"value": "",
"control": "project/trailer"
},
"trailer_inside": {
"value": "",
"control": "project/trailer_inside"
},
"divider": {
"value": "",
"control": "project/divider"
},
"container_class": {
"value": "",
"control": "project/container_class"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Container header"
},
"description": {
"en-GB": "Container-header"
},
"template": "containers/global/container-header/container-header.html.twig",
"template_config": {
"labels": {
"label": {
"en-GB": "Content"
},
"controls": {
"container_title": {
"value": {
"en-GB": "Title",
"fr-FR": "Tître"
},
"label": {
"en-GB": "Container title"
},
"control": "core/text"
},
"link": {
"value": {
"label": {
"en-GB": "",
"fr-FR": ""
},
"page": "",
"id": ""
},
"label": {
"en-GB": "Link"
},
"control": "core/route"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"show_margins": {
"value": "",
"control": "project/layout/show_margins"
},
"show_smaller_title": {
"value": 0,
"label": {
"en-GB": "Show small title"
},
"control": "core/boolean"
},
"show_tools": {
"value": "",
"label": {
"en-GB": "Show filters"
},
"control": "core/list",
"options": [
{
"value": "",
"label": {
"en-GB": "No"
}
},
{
"value": "container-header--filter",
"label": {
"en-GB": "Yes"
}
}
]
},
"show_link": {
"value": 1,
"label": {
"en-GB": "Show link"
},
"control": "core/boolean"
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"container_tag": {
"value": "header",
"control": "project/container_tag"
}
}
}
},
"containers": [],
"frontender": "8c5baac77fc95fbc95e21da6246414b3"
},
{
"name": {
"en-GB": "Channel grid"
},
"description": {
"en-GB": ""
},
"template": "containers/global/channels/channels.html.twig",
"template_config": {
"content": {
"label": {
"en-GB": "Content Setting"
},
"controls": {
"display_type": {
"value": "post",
"label": {
"en-GB": "Display article as"
},
"options": [
{
"value": "post",
"label": {
"en-GB": "Post"
}
},
{
"value": "row",
"label": {
"en-GB": "Row"
}
}
],
"control": "core/list"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "div",
"control": "project/container_tag"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/channel/channel.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"limit": {
"hidden": "0",
"access": "all",
"label": {
"en-GB": "Limit",
"fr-FR": "Limit"
},
"type": "text",
"value": "4"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings",
"fr-FR": "Settings"
},
"controls": {
"template": {
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Template"
},
"options": [
{
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Article post"
}
},
{
"value": "partials/article/post-row.html.twig",
"label": {
"en-GB": "Article row"
}
}
],
"control": "core/list"
},
"show_teleport": {
"value": 1,
"control": "project/display/show_teleport"
},
"show_lead_image": {
"value": 2,
"control": "project/display/show_lead_image"
},
"show_stand_first": {
"value": 2,
"control": "project/display/show_stand_first"
},
"show_publication_date": {
"value": 1,
"control": "project/display/show_publication_date"
},
"show_author_name": {
"value": 1,
"control": "project/display/show_author_name"
},
"show_read_more": {
"value": 2,
"control": "project/display/show_read_more"
},
"show_topic": {
"value": 0,
"control": "project/display/show_topic"
},
"show_publications": {
"value": 0,
"control": "project/display/show_publication"
}
}
}
},
"frontender": "9310e61fa298a63b59b1c31f504e8c7f"
},
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/channel/channel.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"limit": {
"hidden": "0",
"access": "all",
"label": {
"en-GB": "Limit",
"fr-FR": "Limit"
},
"type": "text",
"value": "4"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings",
"fr-FR": "Settings"
},
"controls": {
"template": {
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Template"
},
"options": [
{
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Article post"
}
},
{
"value": "partials/article/post-row.html.twig",
"label": {
"en-GB": "Article row"
}
}
],
"control": "core/list"
},
"show_teleport": {
"value": 1,
"control": "project/display/show_teleport"
},
"show_lead_image": {
"value": 2,
"control": "project/display/show_lead_image"
},
"show_stand_first": {
"value": 2,
"control": "project/display/show_stand_first"
},
"show_publication_date": {
"value": 1,
"control": "project/display/show_publication_date"
},
"show_author_name": {
"value": 1,
"control": "project/display/show_author_name"
},
"show_read_more": {
"value": 2,
"control": "project/display/show_read_more"
},
"show_topic": {
"value": 0,
"control": "project/display/show_topic"
},
"show_publications": {
"value": 0,
"control": "project/display/show_publication"
}
}
}
},
"frontender": "23714a56c0b146d746902760c857aa59"
},
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/channel/channel.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"limit": {
"hidden": "0",
"access": "all",
"label": {
"en-GB": "Limit",
"fr-FR": "Limit"
},
"type": "text",
"value": "4"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings",
"fr-FR": "Settings"
},
"controls": {
"template": {
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Template"
},
"options": [
{
"value": "partials/article/post.html.twig",
"label": {
"en-GB": "Article post"
}
},
{
"value": "partials/article/post-row.html.twig",
"label": {
"en-GB": "Article row"
}
}
],
"control": "core/list"
},
"show_teleport": {
"value": 1,
"control": "project/display/show_teleport"
},
"show_lead_image": {
"value": 2,
"control": "project/display/show_lead_image"
},
"show_stand_first": {
"value": 2,
"control": "project/display/show_stand_first"
},
"show_publication_date": {
"value": 1,
"control": "project/display/show_publication_date"
},
"show_author_name": {
"value": 1,
"control": "project/display/show_author_name"
},
"show_read_more": {
"value": 2,
"control": "project/display/show_read_more"
},
"show_topic": {
"value": 0,
"control": "project/display/show_topic"
},
"show_publications": {
"value": 0,
"control": "project/display/show_publication"
}
}
}
},
"frontender": "3d9ff713901d81753462b46d22a09530"
}
],
"frontender": "a95fd9e64fbd958b83ffe2610d41038f"
}
],
"frontender": "505b0a098ce4f53a54091b4db319ca07"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment