Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 27, 2018 08:57
Show Gist options
  • Save ItsReaSz/b6cb89f94457b02410e021610fc36193 to your computer and use it in GitHub Desktop.
Save ItsReaSz/b6cb89f94457b02410e021610fc36193 to your computer and use it in GitHub Desktop.
{
"name": {
"en-GB": "Upcoming events"
},
"description": {
"en-GB": "Upcoming events with newsletter signup"
},
"template": "containers/global/group/group.html.twig",
"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"
},
"crown": {
"value": "",
"control": "project/crown"
},
"container_class": {
"value": "",
"control": "project/container_class"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Header"
},
"description": {
"en-GB": "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": "events",
"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": "953b8fa32101d33a8069a2faa8a9da30"
},
{
"template": "containers/global/layout/layout.html.twig",
"name": {
"en-GB": "Layout"
},
"description": {
"en-GB": "Generic container to wrap content in layout instructions"
},
"template_config": {
"model": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"limit": {
"value": "4",
"control": "project/model/limit"
},
"skip": {
"value": "{ query.skip }",
"control": "project/model/skip"
},
"upcoming": {
"value": "{ query.upcoming }",
"control": "project/model/upcoming"
},
"sortProperty": {
"value": "{ query.sortProperty }",
"control": "project/model/sort_property"
},
"sortDirection": {
"value": "{ query.sortDirection }",
"control": "project/model/sort_direction"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "8ee09e5e-db66-483f-a4ba-b1193e35a079"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"crown": {
"value": "",
"control": "project/crown"
},
"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": 0,
"control": "project/layout/show_outer_wing"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Event list"
},
"description": {
"en-GB": "Event list"
},
"template": "modules/events/detailed-list/detailed-list.html.twig",
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"id": {
"value": {
"en-GB": "upcoming-events",
"fr-FR": "upcoming-events"
},
"control": "core/hidden"
}
}
}
},
"frontender": "a7ed4966a47af8cba32e8c5dcff2405c"
},
{
"name": {
"en-GB": "Newsletter signup"
},
"description": {
"en-GB": "Newsletter signup"
},
"template": "modules/newsletter-signup/newsletter-signup.html.twig",
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_class": {
"value": "leader trailer",
"control": "project/container_class"
}
}
},
"labels": {
"label": {
"en-GB": "Labels"
},
"controls": {
"title": {
"value": {
"en-GB": "Be sure you don't miss our latest updates.",
"fr-FR": "Ne pas manquer l'opportunité de travailler avec CTA. Abbonez-vous maintenant!"
},
"control": "core/text"
},
"button": {
"value": {
"en-GB": "Subscribe",
"fr-FR": "Souscrire"
},
"control": "core/text"
}
}
}
},
"frontender": "8ab06d1a3463e0327cf38761decfb29a"
}
],
"frontender": "8d84a35000635197e923c9455beaeafc"
}
],
"frontender": "377900497d635e84ac34f00ddc52d996"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment