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:
31
site/fieldsets/gallery-item.json
Normal file
31
site/fieldsets/gallery-item.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
57
site/fieldsets/gallery.json
Normal file
57
site/fieldsets/gallery.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user