-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import failing with NEO field #80
Comments
Just to confirm you're also on at least Neo 2.11.5? Can you provide the import JSON? |
Neo 2.11.13, on both installs. Here's the import. [
{
"name": "Hero slider",
"handle": "block_hero",
"instructions": "",
"required": null,
"searchable": 1,
"translationMethod": "site",
"translationKeyFormat": null,
"type": "benf\\neo\\Field",
"settings": {
"minBlocks": 1,
"maxBlocks": "",
"maxTopBlocks": "",
"maxLevels": "",
"wasModified": false,
"propagationMethod": "none",
"blockTypes": {
"new1": {
"name": "Slide",
"handle": "slide",
"sortOrder": 1,
"maxBlocks": 5,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "Introduction",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ac86965d-a6cc-4c71-88dc-fbaa1159df5d"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ab52453c-77eb-4d7e-8ca7-b9229649676b"
}
]
}
]
}
}
}
}
},
{
"name": "Footer",
"handle": "footer",
"instructions": "",
"required": null,
"searchable": 1,
"translationMethod": "site",
"translationKeyFormat": null,
"type": "benf\\neo\\Field",
"settings": {
"minBlocks": "",
"maxBlocks": "",
"maxTopBlocks": "",
"maxLevels": "",
"wasModified": false,
"propagationMethod": "none",
"blockTypes": {
"new1": {
"name": "Titre",
"handle": "block_title",
"sortOrder": 1,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
}
]
}
]
}
},
"new2": {
"name": "Menu",
"handle": "block_menu",
"sortOrder": 2,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "26f23d7f-453c-4c8c-9c71-9caaba521de8"
}
]
}
]
}
},
"new3": {
"name": "Texte",
"handle": "block_text",
"sortOrder": 3,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "2a7b8f15-240f-48dc-b92e-1cf2af904e4a"
}
]
}
]
}
},
"new4": {
"name": "Bouton",
"handle": "block_button",
"sortOrder": 4,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
}
]
}
]
}
},
"new5": {
"name": "R\u00e9seaux sociaux",
"handle": "block_social",
"sortOrder": 5,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8041112-6506-46c8-b48b-87d2732f4009"
}
]
}
]
}
},
"new6": {
"name": "Colonne",
"handle": "footer_col",
"sortOrder": 6,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": [
"block_title",
"block_menu",
"block_text",
"block_button",
"block_social"
],
"topLevel": true,
"fieldLayout": null
}
}
}
},
{
"name": "Page Layout",
"handle": "page_layout",
"instructions": "",
"required": null,
"searchable": 1,
"translationMethod": "site",
"translationKeyFormat": null,
"type": "benf\\neo\\Field",
"settings": {
"minBlocks": "",
"maxBlocks": "",
"maxTopBlocks": "",
"maxLevels": "",
"wasModified": true,
"propagationMethod": "none",
"groups": [
{
"name": "Sections pr\u00e9par\u00e9es",
"sortOrder": 1
},
{
"name": "Blocs",
"sortOrder": 14
}
],
"blockTypes": {
"new1": {
"name": "Colonnes avec pictos",
"handle": "section_columns_with_pictos",
"sortOrder": 2,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Section Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8c286cb-9f29-4fac-9804-7a2c8c45a9ea"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "Intro",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ac86965d-a6cc-4c71-88dc-fbaa1159df5d"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "",
"instructions": "",
"tip": null,
"warning": null,
"required": 1,
"width": 100,
"fieldUid": "4ec036b6-b49b-4fe8-8221-fdac24d7e364"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "CTA",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
}
]
},
{
"name": "Param\u00e8tres",
"sortOrder": 2,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "9632586a-6312-4be8-9ef1-75b33fb714f5"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "0e41af15-3f98-4453-86f7-7688ace923e3"
}
]
}
]
}
},
"new2": {
"name": "Colonnes avec images",
"handle": "section_columns_with_images",
"sortOrder": 3,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8c286cb-9f29-4fac-9804-7a2c8c45a9ea"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "Intro",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ac86965d-a6cc-4c71-88dc-fbaa1159df5d"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "",
"instructions": "",
"tip": null,
"warning": null,
"required": 1,
"width": 100,
"fieldUid": "ae3a6c37-9340-481e-bf8e-58a555f047d8"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "CTA",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
}
]
},
{
"name": "Param\u00e8tres",
"sortOrder": 2,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "9632586a-6312-4be8-9ef1-75b33fb714f5"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "0e41af15-3f98-4453-86f7-7688ace923e3"
}
]
}
]
}
},
"new3": {
"name": "Section avec chiffres",
"handle": "section_figures",
"sortOrder": 4,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8c286cb-9f29-4fac-9804-7a2c8c45a9ea"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "Intro",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ac86965d-a6cc-4c71-88dc-fbaa1159df5d"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "Chiffres",
"instructions": "",
"tip": null,
"warning": null,
"required": 1,
"width": 100,
"fieldUid": "1f9cea16-574f-46de-9fdc-dcd54104042a"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "CTA",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
}
]
},
{
"name": "Param\u00e8tres",
"sortOrder": 2,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "9632586a-6312-4be8-9ef1-75b33fb714f5"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "0e41af15-3f98-4453-86f7-7688ace923e3"
}
]
}
]
}
},
"new4": {
"name": "Section texte - image",
"handle": "section_text_image",
"sortOrder": 5,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8c286cb-9f29-4fac-9804-7a2c8c45a9ea"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "2a7b8f15-240f-48dc-b92e-1cf2af904e4a"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ab52453c-77eb-4d7e-8ca7-b9229649676b"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "CTA",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
}
]
},
{
"name": "Param\u00e8tres",
"sortOrder": 2,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "9632586a-6312-4be8-9ef1-75b33fb714f5"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "21101d61-3d0f-4f89-978c-2f5542a00259"
}
]
}
]
}
},
"new5": {
"name": "Section liste de pages\/posts",
"handle": "section_query",
"sortOrder": 6,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8c286cb-9f29-4fac-9804-7a2c8c45a9ea"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "Intro",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ac86965d-a6cc-4c71-88dc-fbaa1159df5d"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "b016c4bc-0e8f-41b3-94bd-c11ac55df05a"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "CTA",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
}
]
},
{
"name": "Param\u00e8tres",
"sortOrder": 2,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "9632586a-6312-4be8-9ef1-75b33fb714f5"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "0e41af15-3f98-4453-86f7-7688ace923e3"
}
]
}
]
}
},
"new6": {
"name": "Section slider",
"handle": "section_slider",
"sortOrder": 7,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8c286cb-9f29-4fac-9804-7a2c8c45a9ea"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "Intro",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ac86965d-a6cc-4c71-88dc-fbaa1159df5d"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "2eb54ebb-70c9-48a9-8b1a-fe037ad9caab"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "CTA",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
}
]
},
{
"name": "Param\u00e8tres",
"sortOrder": 2,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "9632586a-6312-4be8-9ef1-75b33fb714f5"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "0e41af15-3f98-4453-86f7-7688ace923e3"
}
]
}
]
}
},
"new7": {
"name": "Section Formulaire + CTA",
"handle": "section_form_cta",
"sortOrder": 8,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": [
"block_cta"
],
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\Heading",
"heading": "Formulaire"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "0957e4aa-6d48-4af5-a212-d4e6ee411a90"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "49ca5a32-9e09-4bf4-a41d-8ea3e3eed11b"
},
{
"type": "craft\\fieldlayoutelements\\Heading",
"heading": "CTAs"
},
{
"type": "benf\\neo\\fieldlayoutelements\\ChildBlocksUiElement"
}
]
}
]
}
},
"new8": {
"name": "Section logos",
"handle": "section_logos",
"sortOrder": 9,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8c286cb-9f29-4fac-9804-7a2c8c45a9ea"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "Intro",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ac86965d-a6cc-4c71-88dc-fbaa1159df5d"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "58d16eba-f259-418c-b242-fee5f1184e5c"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "CTA",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
}
]
},
{
"name": "Param\u00e8tres",
"sortOrder": 2,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "9632586a-6312-4be8-9ef1-75b33fb714f5"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "0e41af15-3f98-4453-86f7-7688ace923e3"
}
]
}
]
}
},
"new9": {
"name": "Section testimonials",
"handle": "section_testimonials",
"sortOrder": 10,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "6f9dd133-8422-4ef7-a99c-9ca023f403a9"
}
]
}
]
}
},
"new10": {
"name": "Section liste de pages manuelle",
"handle": "section_query_manual",
"sortOrder": 11,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8c286cb-9f29-4fac-9804-7a2c8c45a9ea"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "Intro",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ac86965d-a6cc-4c71-88dc-fbaa1159df5d"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "CTA",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "b331e107-2677-40ca-b818-ced101cd7e4d"
}
]
},
{
"name": "Param\u00e8tres",
"sortOrder": 2,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "9632586a-6312-4be8-9ef1-75b33fb714f5"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "0e41af15-3f98-4453-86f7-7688ace923e3"
}
]
}
]
}
},
"new11": {
"name": "Trombinoscope",
"handle": "section_team",
"sortOrder": 12,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8c286cb-9f29-4fac-9804-7a2c8c45a9ea"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "Intro",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ac86965d-a6cc-4c71-88dc-fbaa1159df5d"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "94924234-8371-4a3e-a40f-f9b6e2090e15"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "CTA",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
}
]
},
{
"name": "Param\u00e8tres",
"sortOrder": 2,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "9632586a-6312-4be8-9ef1-75b33fb714f5"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "0e41af15-3f98-4453-86f7-7688ace923e3"
}
]
}
]
}
},
"new12": {
"name": "Section carte",
"handle": "section_map",
"sortOrder": 13,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": true,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8c286cb-9f29-4fac-9804-7a2c8c45a9ea"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "Intro",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ac86965d-a6cc-4c71-88dc-fbaa1159df5d"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "CTA",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
}
]
},
{
"name": "Param\u00e8tres",
"sortOrder": 2,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "9632586a-6312-4be8-9ef1-75b33fb714f5"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "0e41af15-3f98-4453-86f7-7688ace923e3"
}
]
}
]
}
},
"new13": {
"name": "Titre",
"handle": "block_title",
"sortOrder": 15,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
}
]
}
]
}
},
"new14": {
"name": "Surtitre",
"handle": "block_suptitle",
"sortOrder": 16,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "a8c286cb-9f29-4fac-9804-7a2c8c45a9ea"
}
]
}
]
}
},
"new15": {
"name": "Intro",
"handle": "block_intro",
"sortOrder": 17,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": "",
"instructions": "",
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ac86965d-a6cc-4c71-88dc-fbaa1159df5d"
}
]
}
]
}
},
"new16": {
"name": "Bloc texte",
"handle": "block_text",
"sortOrder": 18,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Texte",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "0957e4aa-6d48-4af5-a212-d4e6ee411a90"
}
]
}
]
}
},
"new17": {
"name": "Bloc image",
"handle": "block_image",
"sortOrder": 19,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Conteni",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "ab52453c-77eb-4d7e-8ca7-b9229649676b"
}
]
}
]
}
},
"new18": {
"name": "Bloc image + texte",
"handle": "block_image_text",
"sortOrder": 20,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 50,
"fieldUid": "ab52453c-77eb-4d7e-8ca7-b9229649676b"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 50,
"fieldUid": "0957e4aa-6d48-4af5-a212-d4e6ee411a90"
}
]
}
]
}
},
"new19": {
"name": "CTA",
"handle": "block_cta",
"sortOrder": 21,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "fca3a856-b24c-41f0-a7e2-0ff8ed00fec3"
},
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1210c533-fc27-425b-a09d-dab193329f20"
}
]
}
]
}
},
"new20": {
"name": "Slideshow",
"handle": "block_slider",
"sortOrder": 22,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "2eb54ebb-70c9-48a9-8b1a-fe037ad9caab"
}
]
}
]
}
},
"new21": {
"name": "Liste de logos",
"handle": "block_logos",
"sortOrder": 23,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "58d16eba-f259-418c-b242-fee5f1184e5c"
}
]
}
]
}
},
"new22": {
"name": "Figures",
"handle": "block_figures",
"sortOrder": 24,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "1f9cea16-574f-46de-9fdc-dcd54104042a"
}
]
}
]
}
},
"new23": {
"name": "How to",
"handle": "block_how_to",
"sortOrder": 25,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "d42792ee-6d9f-465c-8cc6-4371fb4e72ab"
}
]
}
]
}
},
"new24": {
"name": "Faq",
"handle": "block_faq",
"sortOrder": 26,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "90fe511d-81d6-4cf8-b9e1-1e6feae5a1a1"
}
]
}
]
}
},
"new25": {
"name": "Formulaire de contact",
"handle": "block_contact_form",
"sortOrder": 27,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "49ca5a32-9e09-4bf4-a41d-8ea3e3eed11b"
}
]
}
]
}
},
"new26": {
"name": "Liste de pages manuelle",
"handle": "section_pages",
"sortOrder": 28,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": null
},
"new27": {
"name": "Liste de pages automatique",
"handle": "block_query",
"sortOrder": 29,
"maxBlocks": 0,
"maxSiblingBlocks": 0,
"maxChildBlocks": 0,
"childBlocks": null,
"topLevel": false,
"fieldLayout": {
"tabs": [
{
"name": "Contenu",
"sortOrder": 1,
"elements": [
{
"type": "craft\\fieldlayoutelements\\CustomField",
"label": null,
"instructions": null,
"tip": null,
"warning": null,
"required": false,
"width": 100,
"fieldUid": "b016c4bc-0e8f-41b3-94bd-c11ac55df05a"
}
]
}
]
}
}
}
}
}
] |
The Because Neo just uses existing fields, these other fields need to exist first. Field Manager won't import all the individual fields plus Neo itself, so ensure you're importing those as well, or first. Doesn't seem to be anything wrong with your export, and thanks for supplying. Seems like there's an issue constructing it, so I'll do some testing. |
Yes I had the feeling that the fields needed to exist first, that’s why I imported the neo fields after everything else.
I hope you’ll find something. In the meantime I’ll recreate the field layouts manually but let me know if you want me to test something else.
Le 17 sept. 2021 à 03:50 +0200, Josh Crawford ***@***.***>, a écrit :
… The craft\fieldlayoutelements\CustomField and label: null are completely valid. These are fieldlayoutelements not fields, so everything is a custom field, and the label, instructions, etc are overrides set at the field layout level, as opposed to the origin field.
Because Neo just uses existing fields, these other fields need to exist first. Field Manager won't import all the individual fields plus Neo itself, so ensure you're importing those as well, or first.
Doesn't seem to be anything wrong with your export, and thanks for supplying. Seems like there's an issue constructing it, so I'll do some testing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Description
Importing one ore more NEO fields causes import to crash.
Steps to reproduce
Additional info
Additional context
Since it wasn't working, I first imported all the other fields, then tried to import only the NEO fields, same error.
The text was updated successfully, but these errors were encountered: