1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-18 19:01:40 +02:00

Flextype Core: Fieldsets Content #165

- new fieldsets for Gallery added
This commit is contained in:
Awilum
2019-07-03 13:37:41 +03:00
parent b63a5756ed
commit 73ca441917
2 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
{
"title": "Gallery Item",
"default_field": "title",
"sections": {
"main": {
"title": "Main",
"fields": {
"title": {
"title": "admin_title",
"type": "text",
"size": "col-12"
},
"gallery_img": {
"title": "admin_gallery_img",
"type": "media_select",
"size": "col-4"
}
}
},
"seo": {
"title": "Seo",
"fields": {
"description": {
"title": "admin_description",
"type": "textarea",
"size": "col-12"
}
}
}
}
}

View File

@@ -0,0 +1,57 @@
{
"title": "Gallery",
"default_field": "title",
"sections": {
"main": {
"title": "Main",
"fields": {
"title": {
"title": "admin_title",
"type": "text",
"size": "col-12"
}
}
},
"seo": {
"title": "Seo",
"fields": {
"description": {
"title": "admin_description",
"type": "textarea",
"size": "col-12"
}
}
},
"menu": {
"title": "Menu",
"fields": {
"menu_item_title": {
"title": "admin_menu_item_title",
"type": "text",
"size": "col-4"
},
"menu_item_url": {
"title": "admin_menu_item_url",
"type": "text",
"size": "col-4"
},
"menu_item_target": {
"title": "admin_menu_item_target",
"type": "select",
"options": {
"_self": "_self",
"_blank": "_blank",
"_parent": "_parent",
"_top": "_top"
},
"size": "col-4"
},
"menu_item_order": {
"title": "admin_menu_item_order",
"type": "text",
"size": "col-4"
}
}
}
}
}