Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ItsReaSz/d1afb46e5b253925d92482353e65fe02 to your computer and use it in GitHub Desktop.
Save ItsReaSz/d1afb46e5b253925d92482353e65fe02 to your computer and use it in GitHub Desktop.
{
"template": "containers/global/group/group.html.twig",
"name": {
"en-GB": "Three columns of channel articles with a list of more channels"
},
"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": "",
"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": {
"wings": {
"value": "wings",
"control": "project/wings"
},
"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": "None"
}
},
{
"value": "events",
"label": {
"en-GB": "Events"
}
},
{
"value": "articles",
"label": {
"en-GB": "Articles"
}
}
]
},
"show_link": {
"value": "",
"label": {
"en-GB": "Show link"
},
"control": "core/list",
"options": [
{
"value": "",
"label": {
"en-GB": "None"
}
},
{
"value": "events",
"label": {
"en-GB": "All events"
}
},
{
"value": "articles",
"label": {
"en-GB": "All articles"
}
}
]
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"container_tag": {
"value": "header",
"control": "project/container_tag"
}
}
}
},
"frontender": "6d4b08bfa6b46597e059e9384ed8c754"
},
{
"template": "containers/global/layout/layout.html.twig",
"name": {
"en-GB": "Layout"
},
"description": {
"en-GB": "Generic container to wrap content in layout instructions"
},
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"divider": {
"value": "",
"control": "project/divider"
},
"container_tag": {
"value": "article",
"control": "project/container_tag"
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"layout": {
"value": "layout",
"label": {
"en-GB": "Layout"
},
"control": "project/layout/layout"
},
"show_secondary_first": {
"value": 0,
"control": "project/layout/show_secondary_first"
},
"show_divider": {
"value": 0,
"control": "project/layout/show_divider"
},
"show_narrow": {
"value": 0,
"control": "project/layout/show_narrow"
},
"vertical_alignment": {
"value": "",
"label": {
"en-GB": "Vertical alignment"
},
"control": "core/list",
"options": [
{
"value": "",
"label": {
"en-GB": "Align top"
}
},
{
"value": "layout--align-end",
"label": {
"en-GB": "Align bottom"
}
},
{
"value": "layout--align-middle",
"label": {
"en-GB": "Align middle"
}
}
]
},
"show_outer_wing": {
"value": 1,
"control": "project/layout/show_outer_wing"
}
}
}
},
"containers": [
{
"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": "section",
"control": "project/container_tag"
},
"container_class": {
"value": "",
"control": "project/container_class"
}
}
}
},
"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"
},
"controls": {
"limit": {
"value": "4",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"config": {
"label": {
"en-GB": "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": "0a16f158b5665de0da4fbf723c5399de"
},
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/channel/channel.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "4",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"config": {
"label": {
"en-GB": "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": "561d4391812387bac5cf8865d422b58f"
},
{
"name": {
"en-GB": "Article channel"
},
"description": {
"en-GB": "Article channel"
},
"template": "modules/articles/channel/channel.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "4",
"control": "project/model/limit"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"config": {
"label": {
"en-GB": "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": "dde91e0534f80c639d17f620bd2ce124"
}
],
"frontender": "e9f83cc613b40447c8592c17246751d4"
},
{
"template": "containers/global/group/group.html.twig",
"name": {
"en-GB": "Links"
},
"description": {
"en-GB": "Channel links"
},
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "section",
"control": "project/container_tag"
},
"container_class": {
"value": "gutters",
"control": "project/container_class"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Link"
},
"description": {
"en-GB": ""
},
"template": "modules/teleport/teleport.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
}
},
"frontender": "51052c4f6a8d84db94e37f412599c7bd"
},
{
"name": {
"en-GB": "Link"
},
"description": {
"en-GB": ""
},
"template": "modules/teleport/teleport.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
}
},
"frontender": "e52841e1918f0fa9ed00f67fe66d675a"
}
],
"frontender": "7de692f0c83d24b7c01c458cfddeab96"
}
],
"frontender": "3f22613498964a502c7d27e147f82308"
}
],
"frontender": "93728503d2a60d44bda17c215baf26be"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment