generated from pascalmartineau/wp-skeleton
wip: field groups
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m9s
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m9s
This commit is contained in:
@@ -14,15 +14,18 @@ __( "Attendance mode", 'ccat' );
|
|||||||
__( "Auteur", 'ccat' );
|
__( "Auteur", 'ccat' );
|
||||||
__( "Bar", 'ccat' );
|
__( "Bar", 'ccat' );
|
||||||
__( "Billing", 'ccat' );
|
__( "Billing", 'ccat' );
|
||||||
|
__( "Billing is the same as contact", 'ccat' );
|
||||||
__( "Builder", 'ccat' );
|
__( "Builder", 'ccat' );
|
||||||
__( "Cancelled", 'ccat' );
|
__( "Cancelled", 'ccat' );
|
||||||
__( "Categorie(s)", 'ccat' );
|
__( "Categorie(s)", 'ccat' );
|
||||||
__( "Category", 'ccat' );
|
__( "Collectif artistique", 'ccat' );
|
||||||
|
__( "Collective profile", 'ccat' );
|
||||||
__( "Complete", 'ccat' );
|
__( "Complete", 'ccat' );
|
||||||
__( "Compositeur", 'ccat' );
|
__( "Compositeur", 'ccat' );
|
||||||
__( "Configuration", 'ccat' );
|
__( "Configuration", 'ccat' );
|
||||||
__( "Configuration name", 'ccat' );
|
__( "Configuration name", 'ccat' );
|
||||||
__( "Confirmed", 'ccat' );
|
__( "Confirmed", 'ccat' );
|
||||||
|
__( "Contact", 'ccat' );
|
||||||
__( "Content", 'ccat' );
|
__( "Content", 'ccat' );
|
||||||
__( "Contribution type(s)", 'ccat' );
|
__( "Contribution type(s)", 'ccat' );
|
||||||
__( "Contribution(s)", 'ccat' );
|
__( "Contribution(s)", 'ccat' );
|
||||||
@@ -59,8 +62,11 @@ __( "Hybrid", 'ccat' );
|
|||||||
__( "Identifier(s)", 'ccat' );
|
__( "Identifier(s)", 'ccat' );
|
||||||
__( "Image", 'ccat' );
|
__( "Image", 'ccat' );
|
||||||
__( "In-person", 'ccat' );
|
__( "In-person", 'ccat' );
|
||||||
|
__( "Individu", 'ccat' );
|
||||||
__( "Individual day(s)", 'ccat' );
|
__( "Individual day(s)", 'ccat' );
|
||||||
__( "Individual profile", 'ccat' );
|
__( "Individual profile", 'ccat' );
|
||||||
|
__( "Institution", 'ccat' );
|
||||||
|
__( "Institution profile", 'ccat' );
|
||||||
__( "Interprète", 'ccat' );
|
__( "Interprète", 'ccat' );
|
||||||
__( "Is asynchronous", 'ccat' );
|
__( "Is asynchronous", 'ccat' );
|
||||||
__( "Language(s)", 'ccat' );
|
__( "Language(s)", 'ccat' );
|
||||||
@@ -68,13 +74,9 @@ __( "Locality", 'ccat' );
|
|||||||
__( "Location", 'ccat' );
|
__( "Location", 'ccat' );
|
||||||
__( "Location type", 'ccat' );
|
__( "Location type", 'ccat' );
|
||||||
__( "MRC", 'ccat' );
|
__( "MRC", 'ccat' );
|
||||||
__( "Managed contributor", 'ccat' );
|
|
||||||
__( "Media type", 'ccat' );
|
__( "Media type", 'ccat' );
|
||||||
__( "Media(s)", 'ccat' );
|
__( "Media(s)", 'ccat' );
|
||||||
__( "Membership plan", 'ccat' );
|
__( "Membership type", 'ccat' );
|
||||||
__( "Membership(s)", 'ccat' );
|
|
||||||
__( "Membre (individu)", 'ccat' );
|
|
||||||
__( "Membre (organisation)", 'ccat' );
|
|
||||||
__( "Message", 'ccat' );
|
__( "Message", 'ccat' );
|
||||||
__( "Minimum price", 'ccat' );
|
__( "Minimum price", 'ccat' );
|
||||||
__( "Moral entity", 'ccat' );
|
__( "Moral entity", 'ccat' );
|
||||||
@@ -85,6 +87,7 @@ __( "Offer", 'ccat' );
|
|||||||
__( "Offer status", 'ccat' );
|
__( "Offer status", 'ccat' );
|
||||||
__( "Online", 'ccat' );
|
__( "Online", 'ccat' );
|
||||||
__( "Options page – CCAT", 'ccat' );
|
__( "Options page – CCAT", 'ccat' );
|
||||||
|
__( "Organisation", 'ccat' );
|
||||||
__( "Organization profile", 'ccat' );
|
__( "Organization profile", 'ccat' );
|
||||||
__( "Period", 'ccat' );
|
__( "Period", 'ccat' );
|
||||||
__( "Person name", 'ccat' );
|
__( "Person name", 'ccat' );
|
||||||
@@ -105,10 +108,13 @@ __( "Post – Template", 'ccat' );
|
|||||||
__( "Postponed", 'ccat' );
|
__( "Postponed", 'ccat' );
|
||||||
__( "Pricing", 'ccat' );
|
__( "Pricing", 'ccat' );
|
||||||
__( "Profile(s)", 'ccat' );
|
__( "Profile(s)", 'ccat' );
|
||||||
|
__( "Project categorie(s)", 'ccat' );
|
||||||
__( "Range", 'ccat' );
|
__( "Range", 'ccat' );
|
||||||
__( "Rechercher une adresse...", 'ccat' );
|
__( "Rechercher une adresse...", 'ccat' );
|
||||||
__( "Registration", 'ccat' );
|
__( "Registration", 'ccat' );
|
||||||
|
__( "Resource category", 'ccat' );
|
||||||
__( "Salle de spectacle", 'ccat' );
|
__( "Salle de spectacle", 'ccat' );
|
||||||
|
__( "Same as contact", 'ccat' );
|
||||||
__( "Schedule type", 'ccat' );
|
__( "Schedule type", 'ccat' );
|
||||||
__( "Search for address...", 'ccat' );
|
__( "Search for address...", 'ccat' );
|
||||||
__( "Section(s)", 'ccat' );
|
__( "Section(s)", 'ccat' );
|
||||||
@@ -133,7 +139,6 @@ __( "URI", 'ccat' );
|
|||||||
__( "URL", 'ccat' );
|
__( "URL", 'ccat' );
|
||||||
__( "Universal access", 'ccat' );
|
__( "Universal access", 'ccat' );
|
||||||
__( "Upcoming", 'ccat' );
|
__( "Upcoming", 'ccat' );
|
||||||
__( "User Profile", 'ccat' );
|
|
||||||
__( "Virtual location", 'ccat' );
|
__( "Virtual location", 'ccat' );
|
||||||
__( "Where", 'ccat' );
|
__( "Where", 'ccat' );
|
||||||
__( "Wordless", 'ccat' );
|
__( "Wordless", 'ccat' );
|
||||||
|
|||||||
@@ -65,7 +65,18 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"min": "",
|
"min": "",
|
||||||
"max": ""
|
"max": "",
|
||||||
|
"acfe_flexible_render_template": false,
|
||||||
|
"acfe_flexible_render_style": false,
|
||||||
|
"acfe_flexible_render_script": false,
|
||||||
|
"acfe_flexible_thumbnail": false,
|
||||||
|
"acfe_flexible_settings": false,
|
||||||
|
"acfe_flexible_settings_size": "medium",
|
||||||
|
"acfe_layout_locations": [],
|
||||||
|
"acfe_flexible_modal_edit_size": false,
|
||||||
|
"acfe_flexible_category": false,
|
||||||
|
"acfe_layout_col": "auto",
|
||||||
|
"acfe_layout_allowed_col": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"min": "",
|
"min": "",
|
||||||
@@ -74,7 +85,39 @@
|
|||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_description": "",
|
"graphql_description": "",
|
||||||
"graphql_field_name": "sections",
|
"graphql_field_name": "sections",
|
||||||
"graphql_non_null": 0
|
"graphql_non_null": 0,
|
||||||
|
"acfe_flexible_advanced": false,
|
||||||
|
"acfe_flexible_stylised_button": false,
|
||||||
|
"acfe_flexible_hide_empty_message": false,
|
||||||
|
"acfe_flexible_empty_message": "",
|
||||||
|
"acfe_flexible_layouts_templates": false,
|
||||||
|
"acfe_flexible_layouts_previews": false,
|
||||||
|
"acfe_flexible_layouts_placeholder": false,
|
||||||
|
"acfe_flexible_layouts_thumbnails": false,
|
||||||
|
"acfe_flexible_layouts_settings": false,
|
||||||
|
"acfe_flexible_layouts_locations": false,
|
||||||
|
"acfe_flexible_async": [],
|
||||||
|
"acfe_flexible_add_actions": [],
|
||||||
|
"acfe_flexible_remove_button": [],
|
||||||
|
"acfe_flexible_layouts_state": false,
|
||||||
|
"acfe_flexible_modal_edit": {
|
||||||
|
"acfe_flexible_modal_edit_enabled": false,
|
||||||
|
"acfe_flexible_modal_edit_size": "large"
|
||||||
|
},
|
||||||
|
"acfe_flexible_modal": {
|
||||||
|
"acfe_flexible_modal_enabled": false,
|
||||||
|
"acfe_flexible_modal_title": false,
|
||||||
|
"acfe_flexible_modal_size": "full",
|
||||||
|
"acfe_flexible_modal_col": "4",
|
||||||
|
"acfe_flexible_modal_categories": false
|
||||||
|
},
|
||||||
|
"acfe_flexible_grid": {
|
||||||
|
"acfe_flexible_grid_enabled": false,
|
||||||
|
"acfe_flexible_grid_align": "center",
|
||||||
|
"acfe_flexible_grid_valign": "stretch",
|
||||||
|
"acfe_flexible_grid_wrap": false
|
||||||
|
},
|
||||||
|
"acfe_flexible_grid_container": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"location": [
|
"location": [
|
||||||
@@ -95,9 +138,16 @@
|
|||||||
"active": true,
|
"active": true,
|
||||||
"description": "",
|
"description": "",
|
||||||
"show_in_rest": 0,
|
"show_in_rest": 0,
|
||||||
|
"acfe_autosync": [
|
||||||
|
"json"
|
||||||
|
],
|
||||||
|
"acfe_form": 0,
|
||||||
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "abstractBuilder",
|
"graphql_field_name": "groupAbstractBuilder",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"modified": 1750345147
|
"acfe_meta": "",
|
||||||
}
|
"acfe_note": "",
|
||||||
|
"modified": 1757960606
|
||||||
|
}
|
||||||
@@ -132,10 +132,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "abstractCredits",
|
"graphql_field_name": "groupAbstractCredits",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1750771257
|
"modified": 1757960600
|
||||||
}
|
}
|
||||||
@@ -27,6 +27,7 @@
|
|||||||
"graphql_field_name": "identifiers",
|
"graphql_field_name": "identifiers",
|
||||||
"graphql_non_null": 0,
|
"graphql_non_null": 0,
|
||||||
"rows_per_page": 20,
|
"rows_per_page": 20,
|
||||||
|
"acfe_repeater_stylised_button": 0,
|
||||||
"sub_fields": [
|
"sub_fields": [
|
||||||
{
|
{
|
||||||
"key": "field_685413ff154d0",
|
"key": "field_685413ff154d0",
|
||||||
@@ -70,9 +71,16 @@
|
|||||||
"active": true,
|
"active": true,
|
||||||
"description": "",
|
"description": "",
|
||||||
"show_in_rest": 0,
|
"show_in_rest": 0,
|
||||||
|
"acfe_autosync": [
|
||||||
|
"json"
|
||||||
|
],
|
||||||
|
"acfe_form": 0,
|
||||||
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "abstractEntity",
|
"graphql_field_name": "groupAbstractEntity",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"modified": 1750344613
|
"acfe_meta": "",
|
||||||
|
"acfe_note": "",
|
||||||
|
"modified": 1757960593
|
||||||
}
|
}
|
||||||
@@ -169,10 +169,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "abstractGallery",
|
"graphql_field_name": "groupAbstractGallery",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1750771280
|
"modified": 1757960586
|
||||||
}
|
}
|
||||||
@@ -667,10 +667,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "abstractOffer",
|
"graphql_field_name": "groupAbstractOffer",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1754494059
|
"modified": 1757960580
|
||||||
}
|
}
|
||||||
@@ -77,10 +77,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "abstractSocial",
|
"graphql_field_name": "groupAbstractSocial",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1756232042
|
"modified": 1757960554
|
||||||
}
|
}
|
||||||
@@ -55,10 +55,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "ccat",
|
"graphql_field_name": "groupCcat",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1756231316
|
"modified": 1757960547
|
||||||
}
|
}
|
||||||
@@ -57,10 +57,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "postArticle",
|
"graphql_field_name": "groupPostArticle",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1750444933
|
"modified": 1757960479
|
||||||
}
|
}
|
||||||
@@ -350,10 +350,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "postContributor",
|
"graphql_field_name": "groupPostContributor",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1751980995
|
"modified": 1757960468
|
||||||
}
|
}
|
||||||
@@ -366,10 +366,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "postEvent",
|
"graphql_field_name": "groupPostEvent",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1750769168
|
"modified": 1757960457
|
||||||
}
|
}
|
||||||
@@ -347,10 +347,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "postLocation",
|
"graphql_field_name": "groupPostLocation",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1751981084
|
"modified": 1757960447
|
||||||
}
|
}
|
||||||
@@ -3,90 +3,9 @@
|
|||||||
"title": "Post - Membership",
|
"title": "Post - Membership",
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"key": "field_6855b1f1c65bf",
|
"key": "field_68c85464c2413",
|
||||||
"label": "Membership plan",
|
"label": "Contact",
|
||||||
"name": "membership_plan",
|
"name": "contact",
|
||||||
"aria-label": "",
|
|
||||||
"type": "select",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 1,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"choices": {
|
|
||||||
"Membre (individu)": "Membre (individu)",
|
|
||||||
"Membre (organisation)": "Membre (organisation)"
|
|
||||||
},
|
|
||||||
"default_value": false,
|
|
||||||
"return_format": "value",
|
|
||||||
"multiple": 0,
|
|
||||||
"max": "",
|
|
||||||
"prepend": "",
|
|
||||||
"append": "",
|
|
||||||
"required_message": "",
|
|
||||||
"allow_null": 0,
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"ui": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "membershipPlan",
|
|
||||||
"graphql_non_null": 1,
|
|
||||||
"ajax": 0,
|
|
||||||
"placeholder": "",
|
|
||||||
"create_options": 0,
|
|
||||||
"save_options": 0,
|
|
||||||
"allow_custom": 0,
|
|
||||||
"search_placeholder": "",
|
|
||||||
"min": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_6855ab54c65bc",
|
|
||||||
"label": "Managed contributor",
|
|
||||||
"name": "contributor",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "post_object",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 0,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"post_type": [
|
|
||||||
"contributor"
|
|
||||||
],
|
|
||||||
"post_status": "",
|
|
||||||
"taxonomy": "",
|
|
||||||
"return_format": "id",
|
|
||||||
"multiple": 0,
|
|
||||||
"save_custom": 0,
|
|
||||||
"save_post_status": "publish",
|
|
||||||
"acfe_add_post": 0,
|
|
||||||
"acfe_edit_post": 0,
|
|
||||||
"acfe_bidirectional": {
|
|
||||||
"acfe_bidirectional_enabled": "0"
|
|
||||||
},
|
|
||||||
"allow_null": 0,
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"bidirectional": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "contributor",
|
|
||||||
"graphql_connection_type": "one_to_many",
|
|
||||||
"ui": 1,
|
|
||||||
"bidirectional_target": [],
|
|
||||||
"save_post_type": "",
|
|
||||||
"min": "",
|
|
||||||
"max": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_686d1fab5de85",
|
|
||||||
"label": "Billing",
|
|
||||||
"name": "billing",
|
|
||||||
"aria-label": "",
|
"aria-label": "",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"instructions": "",
|
"instructions": "",
|
||||||
@@ -102,8 +21,363 @@
|
|||||||
"acfe_group_modal": 0,
|
"acfe_group_modal": 0,
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_description": "",
|
"graphql_description": "",
|
||||||
"graphql_field_name": "payment",
|
"graphql_field_name": "contact",
|
||||||
"graphql_non_null": 0,
|
"graphql_non_null": 0,
|
||||||
|
"acfe_group_modal_close": 0,
|
||||||
|
"acfe_group_modal_button": "",
|
||||||
|
"acfe_group_modal_size": "large",
|
||||||
|
"sub_fields": [
|
||||||
|
{
|
||||||
|
"key": "field_68c85464c2418",
|
||||||
|
"label": "Person name",
|
||||||
|
"name": "person_name",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "text",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"default_value": "",
|
||||||
|
"required_message": "",
|
||||||
|
"maxlength": "",
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"placeholder": "",
|
||||||
|
"prepend": "",
|
||||||
|
"append": "",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "personName",
|
||||||
|
"graphql_non_null": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_68c85464c2419",
|
||||||
|
"label": "Email",
|
||||||
|
"name": "email",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "email",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"default_value": "",
|
||||||
|
"required_message": "",
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"placeholder": "",
|
||||||
|
"prepend": "",
|
||||||
|
"append": "",
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "email",
|
||||||
|
"graphql_non_null": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_68c85464c241a",
|
||||||
|
"label": "Phone",
|
||||||
|
"name": "phone",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "acfe_phone_number",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"countries": [
|
||||||
|
"ca"
|
||||||
|
],
|
||||||
|
"preferred_countries": "",
|
||||||
|
"default_country": "ca",
|
||||||
|
"geolocation": 0,
|
||||||
|
"native": 0,
|
||||||
|
"national": 1,
|
||||||
|
"dropdown": 0,
|
||||||
|
"dial_code": 0,
|
||||||
|
"default_value": "",
|
||||||
|
"placeholder": "",
|
||||||
|
"return_format": "number",
|
||||||
|
"required_message": "",
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "phone",
|
||||||
|
"graphql_non_null": 1,
|
||||||
|
"geolocation_token": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_68c85464c241b",
|
||||||
|
"label": "Address",
|
||||||
|
"name": "address",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "acfe_address",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"placeholder": "Rechercher une adresse...",
|
||||||
|
"countries": [
|
||||||
|
"ca"
|
||||||
|
],
|
||||||
|
"search_type": "address",
|
||||||
|
"geolocation": 1,
|
||||||
|
"custom_address": 1,
|
||||||
|
"prepend": "",
|
||||||
|
"append": "",
|
||||||
|
"api_key": "",
|
||||||
|
"fields": {
|
||||||
|
"row-row-row-row-row-0": {
|
||||||
|
"field": "street_number",
|
||||||
|
"name": "street_number"
|
||||||
|
},
|
||||||
|
"row-row-row-row-686d21068e1b9": {
|
||||||
|
"field": "street_name",
|
||||||
|
"name": "street_name"
|
||||||
|
},
|
||||||
|
"row-row-row-row-686d210f8e1ba": {
|
||||||
|
"field": "city",
|
||||||
|
"name": "city"
|
||||||
|
},
|
||||||
|
"row-row-row-row-row-1": {
|
||||||
|
"field": "state",
|
||||||
|
"name": "state"
|
||||||
|
},
|
||||||
|
"row-row-row-row-row-2": {
|
||||||
|
"field": "country_short",
|
||||||
|
"name": "country_code"
|
||||||
|
},
|
||||||
|
"row-row-row-row-686d21198e1bb": {
|
||||||
|
"field": "post_code",
|
||||||
|
"name": "postal_code"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required_message": "",
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "address",
|
||||||
|
"graphql_non_null": 1,
|
||||||
|
"default_value": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_68c854de2bef8",
|
||||||
|
"label": "Email preferences",
|
||||||
|
"name": "email_preferences",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "group",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"layout": "block",
|
||||||
|
"acfe_seamless_style": 0,
|
||||||
|
"acfe_group_modal": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "emailPreferences",
|
||||||
|
"graphql_non_null": 1,
|
||||||
|
"acfe_group_modal_close": 0,
|
||||||
|
"acfe_group_modal_button": "",
|
||||||
|
"acfe_group_modal_size": "large",
|
||||||
|
"sub_fields": [
|
||||||
|
{
|
||||||
|
"key": "field_686d2332cf01e",
|
||||||
|
"label": "Categorie(s)",
|
||||||
|
"name": "categories",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"choices": [],
|
||||||
|
"default_value": [],
|
||||||
|
"return_format": "value",
|
||||||
|
"min": "",
|
||||||
|
"max": "",
|
||||||
|
"allow_custom": 0,
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"layout": "vertical",
|
||||||
|
"toggle": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "categories",
|
||||||
|
"graphql_non_null": 0,
|
||||||
|
"save_custom": 0,
|
||||||
|
"custom_choice_button_text": "Add new choice"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_686d230dcf01c",
|
||||||
|
"label": "Discipline(s)",
|
||||||
|
"name": "disciplines",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"choices": [],
|
||||||
|
"default_value": [],
|
||||||
|
"return_format": "value",
|
||||||
|
"min": "",
|
||||||
|
"max": "",
|
||||||
|
"allow_custom": 0,
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"layout": "vertical",
|
||||||
|
"toggle": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "disciplines",
|
||||||
|
"graphql_non_null": 0,
|
||||||
|
"save_custom": 0,
|
||||||
|
"custom_choice_button_text": "Add new choice"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_686d22b4cf01b",
|
||||||
|
"label": "Event type(s)",
|
||||||
|
"name": "event_types",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"graphql_field_name": "eventTypes",
|
||||||
|
"choices": [],
|
||||||
|
"default_value": [],
|
||||||
|
"return_format": "value",
|
||||||
|
"min": "",
|
||||||
|
"max": "",
|
||||||
|
"allow_custom": 0,
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"layout": "vertical",
|
||||||
|
"toggle": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_non_null": 0,
|
||||||
|
"save_custom": 0,
|
||||||
|
"custom_choice_button_text": "Add new choice"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_686d2323cf01d",
|
||||||
|
"label": "MRC",
|
||||||
|
"name": "mrc",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"choices": [],
|
||||||
|
"default_value": [],
|
||||||
|
"return_format": "value",
|
||||||
|
"min": "",
|
||||||
|
"max": "",
|
||||||
|
"allow_custom": 0,
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"layout": "vertical",
|
||||||
|
"toggle": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "mrc",
|
||||||
|
"graphql_non_null": 0,
|
||||||
|
"save_custom": 0,
|
||||||
|
"custom_choice_button_text": "Add new choice"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_68c85488c241d",
|
||||||
|
"label": "Same as contact",
|
||||||
|
"name": "billing_same",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "true_false",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"message": "Billing is the same as contact",
|
||||||
|
"default_value": 0,
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"ui": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "sameAsContact",
|
||||||
|
"graphql_non_null": 0,
|
||||||
|
"ui_on_text": "",
|
||||||
|
"ui_off_text": "",
|
||||||
|
"style": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_686d1fab5de85",
|
||||||
|
"label": "Billing",
|
||||||
|
"name": "billing",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "group",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"field": "field_68c85488c241d",
|
||||||
|
"operator": "!=",
|
||||||
|
"value": "1"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"layout": "block",
|
||||||
|
"acfe_seamless_style": 0,
|
||||||
|
"acfe_group_modal": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "billing",
|
||||||
|
"graphql_non_null": 0,
|
||||||
|
"acfe_group_modal_close": 0,
|
||||||
|
"acfe_group_modal_button": "",
|
||||||
|
"acfe_group_modal_size": "large",
|
||||||
"sub_fields": [
|
"sub_fields": [
|
||||||
{
|
{
|
||||||
"key": "field_686d20578e1b5",
|
"key": "field_686d20578e1b5",
|
||||||
@@ -203,7 +477,6 @@
|
|||||||
"class": "",
|
"class": "",
|
||||||
"id": ""
|
"id": ""
|
||||||
},
|
},
|
||||||
"graphql_field_name": "address",
|
|
||||||
"placeholder": "Rechercher une adresse...",
|
"placeholder": "Rechercher une adresse...",
|
||||||
"countries": [
|
"countries": [
|
||||||
"ca"
|
"ca"
|
||||||
@@ -215,38 +488,82 @@
|
|||||||
"append": "",
|
"append": "",
|
||||||
"api_key": "",
|
"api_key": "",
|
||||||
"fields": {
|
"fields": {
|
||||||
"row-0": {
|
"row-row-row-row-0": {
|
||||||
"field": "street_number",
|
"field": "street_number",
|
||||||
"name": "street_number"
|
"name": "street_number"
|
||||||
},
|
},
|
||||||
"686d21068e1b9": {
|
"row-row-row-686d21068e1b9": {
|
||||||
"field": "street_number",
|
"field": "street_name",
|
||||||
"name": "street_name"
|
"name": "street_name"
|
||||||
},
|
},
|
||||||
"686d210f8e1ba": {
|
"row-row-row-686d210f8e1ba": {
|
||||||
"field": "city",
|
"field": "city",
|
||||||
"name": "city"
|
"name": "city"
|
||||||
},
|
},
|
||||||
"row-1": {
|
"row-row-row-row-1": {
|
||||||
"field": "state",
|
"field": "state",
|
||||||
"name": "state"
|
"name": "state"
|
||||||
},
|
},
|
||||||
"row-2": {
|
"row-row-row-row-2": {
|
||||||
"field": "country_short",
|
"field": "country_short",
|
||||||
"name": "country"
|
"name": "country_code"
|
||||||
},
|
},
|
||||||
"686d21198e1bb": {
|
"row-row-row-686d21198e1bb": {
|
||||||
"field": "post_code",
|
"field": "post_code",
|
||||||
"name": "post_code"
|
"name": "postal_code"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"required_message": "",
|
||||||
"allow_in_bindings": 0,
|
"allow_in_bindings": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "address",
|
||||||
|
"graphql_non_null": 1,
|
||||||
"default_value": ""
|
"default_value": ""
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"acfe_group_modal_close": 0,
|
},
|
||||||
"acfe_group_modal_button": "",
|
{
|
||||||
"acfe_group_modal_size": "large"
|
"key": "field_6855b1f1c65bf",
|
||||||
|
"label": "Membership type",
|
||||||
|
"name": "membership_type",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "select",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 1,
|
||||||
|
"conditional_logic": 0,
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"choices": {
|
||||||
|
"individual": "Individu",
|
||||||
|
"collective": "Collectif artistique",
|
||||||
|
"organization": "Organisation",
|
||||||
|
"institution": "Institution"
|
||||||
|
},
|
||||||
|
"default_value": false,
|
||||||
|
"return_format": "value",
|
||||||
|
"multiple": 0,
|
||||||
|
"max": "",
|
||||||
|
"prepend": "",
|
||||||
|
"append": "",
|
||||||
|
"required_message": "",
|
||||||
|
"allow_null": 0,
|
||||||
|
"allow_in_bindings": 0,
|
||||||
|
"ui": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "membershipType",
|
||||||
|
"graphql_non_null": 1,
|
||||||
|
"ajax": 0,
|
||||||
|
"placeholder": "",
|
||||||
|
"create_options": 0,
|
||||||
|
"save_options": 0,
|
||||||
|
"allow_custom": 0,
|
||||||
|
"search_placeholder": "",
|
||||||
|
"min": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "field_686d1ffa5de87",
|
"key": "field_686d1ffa5de87",
|
||||||
@@ -261,7 +578,7 @@
|
|||||||
{
|
{
|
||||||
"field": "field_6855b1f1c65bf",
|
"field": "field_6855b1f1c65bf",
|
||||||
"operator": "==",
|
"operator": "==",
|
||||||
"value": "Membre (individu)"
|
"value": "individu"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -283,7 +600,41 @@
|
|||||||
"acfe_group_modal_size": "large"
|
"acfe_group_modal_size": "large"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "field_686d20215de88",
|
"key": "field_68c8576ca8217",
|
||||||
|
"label": "Collective profile",
|
||||||
|
"name": "collective_profile",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "group",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"field": "field_6855b1f1c65bf",
|
||||||
|
"operator": "==",
|
||||||
|
"value": "collective"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"layout": "block",
|
||||||
|
"acfe_seamless_style": 0,
|
||||||
|
"acfe_group_modal": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "collectiveProfile",
|
||||||
|
"graphql_non_null": 0,
|
||||||
|
"sub_fields": [],
|
||||||
|
"acfe_group_modal_close": 0,
|
||||||
|
"acfe_group_modal_button": "",
|
||||||
|
"acfe_group_modal_size": "large"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_68c85785a8218",
|
||||||
"label": "Organization profile",
|
"label": "Organization profile",
|
||||||
"name": "organization_profile",
|
"name": "organization_profile",
|
||||||
"aria-label": "",
|
"aria-label": "",
|
||||||
@@ -295,7 +646,7 @@
|
|||||||
{
|
{
|
||||||
"field": "field_6855b1f1c65bf",
|
"field": "field_6855b1f1c65bf",
|
||||||
"operator": "==",
|
"operator": "==",
|
||||||
"value": "Membre (organisation)"
|
"value": "organization"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -315,6 +666,40 @@
|
|||||||
"acfe_group_modal_close": 0,
|
"acfe_group_modal_close": 0,
|
||||||
"acfe_group_modal_button": "",
|
"acfe_group_modal_button": "",
|
||||||
"acfe_group_modal_size": "large"
|
"acfe_group_modal_size": "large"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "field_68c857a5a8219",
|
||||||
|
"label": "Institution profile",
|
||||||
|
"name": "institution_profile",
|
||||||
|
"aria-label": "",
|
||||||
|
"type": "group",
|
||||||
|
"instructions": "",
|
||||||
|
"required": 0,
|
||||||
|
"conditional_logic": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"field": "field_6855b1f1c65bf",
|
||||||
|
"operator": "==",
|
||||||
|
"value": "institution"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"wrapper": {
|
||||||
|
"width": "",
|
||||||
|
"class": "",
|
||||||
|
"id": ""
|
||||||
|
},
|
||||||
|
"layout": "block",
|
||||||
|
"acfe_seamless_style": 0,
|
||||||
|
"acfe_group_modal": 0,
|
||||||
|
"show_in_graphql": 1,
|
||||||
|
"graphql_description": "",
|
||||||
|
"graphql_field_name": "institutionProfile",
|
||||||
|
"graphql_non_null": 0,
|
||||||
|
"sub_fields": [],
|
||||||
|
"acfe_group_modal_close": 0,
|
||||||
|
"acfe_group_modal_button": "",
|
||||||
|
"acfe_group_modal_size": "large"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"location": [
|
"location": [
|
||||||
@@ -341,10 +726,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "postMembership",
|
"graphql_field_name": "groupPostMembership",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1751982478
|
"modified": 1757960388
|
||||||
}
|
}
|
||||||
@@ -57,10 +57,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "postPage",
|
"graphql_field_name": "groupPostPage",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1750446725
|
"modified": 1757959232
|
||||||
}
|
}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"key": "field_685413d901253",
|
"key": "field_685413d901253",
|
||||||
"label": "Categorie(s)",
|
"label": "Project categorie(s)",
|
||||||
"name": "project_categories",
|
"name": "project_categories",
|
||||||
"aria-label": "",
|
"aria-label": "",
|
||||||
"type": "taxonomy",
|
"type": "taxonomy",
|
||||||
@@ -171,10 +171,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "postProject",
|
"graphql_field_name": "groupPostProject",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1750769378
|
"modified": 1757959216
|
||||||
}
|
}
|
||||||
@@ -255,7 +255,7 @@
|
|||||||
{
|
{
|
||||||
"key": "field_6855b5083f269",
|
"key": "field_6855b5083f269",
|
||||||
"label": "Start date \/ time",
|
"label": "Start date \/ time",
|
||||||
"name": "start_date__time",
|
"name": "start_date_time",
|
||||||
"aria-label": "",
|
"aria-label": "",
|
||||||
"type": "date_time_picker",
|
"type": "date_time_picker",
|
||||||
"instructions": "",
|
"instructions": "",
|
||||||
@@ -281,6 +281,7 @@
|
|||||||
"max_min": "",
|
"max_min": "",
|
||||||
"min_sec": "",
|
"min_sec": "",
|
||||||
"max_sec": "",
|
"max_sec": "",
|
||||||
|
"required_message": "",
|
||||||
"allow_in_bindings": 0,
|
"allow_in_bindings": 0,
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_description": "",
|
"graphql_description": "",
|
||||||
@@ -375,10 +376,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "postRepresentation",
|
"graphql_field_name": "groupPostRepresentation",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1751982621
|
"modified": 1757959184
|
||||||
}
|
}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"key": "field_685413ded6377",
|
"key": "field_685413ded6377",
|
||||||
"label": "Category",
|
"label": "Resource category",
|
||||||
"name": "resource_category",
|
"name": "resource_category",
|
||||||
"aria-label": "",
|
"aria-label": "",
|
||||||
"type": "taxonomy",
|
"type": "taxonomy",
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
"button_label": "Ajouter un élément",
|
"button_label": "Ajouter un élément",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_description": "",
|
"graphql_description": "",
|
||||||
"graphql_field_name": "resourceItems",
|
"graphql_field_name": "documents",
|
||||||
"graphql_non_null": 0,
|
"graphql_non_null": 0,
|
||||||
"rows_per_page": 20,
|
"rows_per_page": 20,
|
||||||
"sub_fields": [
|
"sub_fields": [
|
||||||
@@ -234,10 +234,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "postResource",
|
"graphql_field_name": "groupPostResource",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1750769553
|
"modified": 1757959119
|
||||||
}
|
}
|
||||||
@@ -55,10 +55,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "postTemplate",
|
"graphql_field_name": "groupPostTemplate",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1750447786
|
"modified": 1757959017
|
||||||
}
|
}
|
||||||
@@ -55,10 +55,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "termDiscipline",
|
"graphql_field_name": "groupTermDiscipline",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1750447831
|
"modified": 1757959003
|
||||||
}
|
}
|
||||||
@@ -42,153 +42,6 @@
|
|||||||
"ui": 1,
|
"ui": 1,
|
||||||
"bidirectional_target": [],
|
"bidirectional_target": [],
|
||||||
"save_post_type": ""
|
"save_post_type": ""
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_686d2299cf01a",
|
|
||||||
"label": "Email preferences",
|
|
||||||
"name": "email_preferences",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "group",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 0,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"layout": "block",
|
|
||||||
"acfe_seamless_style": 1,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "emailPreferences",
|
|
||||||
"graphql_non_null": 0,
|
|
||||||
"sub_fields": [
|
|
||||||
{
|
|
||||||
"key": "field_686d2332cf01e",
|
|
||||||
"label": "Categorie(s)",
|
|
||||||
"name": "categories",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "checkbox",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 0,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"choices": [],
|
|
||||||
"default_value": [],
|
|
||||||
"return_format": "value",
|
|
||||||
"min": "",
|
|
||||||
"max": "",
|
|
||||||
"allow_custom": 0,
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"layout": "vertical",
|
|
||||||
"toggle": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "categories",
|
|
||||||
"graphql_non_null": 0,
|
|
||||||
"save_custom": 0,
|
|
||||||
"custom_choice_button_text": "Add new choice"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_686d230dcf01c",
|
|
||||||
"label": "Discipline(s)",
|
|
||||||
"name": "disciplines",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "checkbox",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 0,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"choices": [],
|
|
||||||
"default_value": [],
|
|
||||||
"return_format": "value",
|
|
||||||
"min": "",
|
|
||||||
"max": "",
|
|
||||||
"allow_custom": 0,
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"layout": "vertical",
|
|
||||||
"toggle": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "disciplines",
|
|
||||||
"graphql_non_null": 0,
|
|
||||||
"save_custom": 0,
|
|
||||||
"custom_choice_button_text": "Add new choice"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_686d22b4cf01b",
|
|
||||||
"label": "Event type(s)",
|
|
||||||
"name": "event_types",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "checkbox",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 0,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"graphql_field_name": "eventTypes",
|
|
||||||
"choices": [],
|
|
||||||
"default_value": [],
|
|
||||||
"return_format": "value",
|
|
||||||
"min": "",
|
|
||||||
"max": "",
|
|
||||||
"allow_custom": 0,
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"layout": "vertical",
|
|
||||||
"toggle": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_non_null": 0,
|
|
||||||
"save_custom": 0,
|
|
||||||
"custom_choice_button_text": "Add new choice"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "field_686d2323cf01d",
|
|
||||||
"label": "MRC",
|
|
||||||
"name": "mrc",
|
|
||||||
"aria-label": "",
|
|
||||||
"type": "checkbox",
|
|
||||||
"instructions": "",
|
|
||||||
"required": 0,
|
|
||||||
"conditional_logic": 0,
|
|
||||||
"wrapper": {
|
|
||||||
"width": "",
|
|
||||||
"class": "",
|
|
||||||
"id": ""
|
|
||||||
},
|
|
||||||
"choices": [],
|
|
||||||
"default_value": [],
|
|
||||||
"return_format": "value",
|
|
||||||
"min": "",
|
|
||||||
"max": "",
|
|
||||||
"allow_custom": 0,
|
|
||||||
"allow_in_bindings": 0,
|
|
||||||
"layout": "vertical",
|
|
||||||
"toggle": 0,
|
|
||||||
"show_in_graphql": 1,
|
|
||||||
"graphql_description": "",
|
|
||||||
"graphql_field_name": "mrc",
|
|
||||||
"graphql_non_null": 0,
|
|
||||||
"save_custom": 0,
|
|
||||||
"custom_choice_button_text": "Add new choice"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"acfe_group_modal": 0,
|
|
||||||
"acfe_group_modal_close": 0,
|
|
||||||
"acfe_group_modal_button": "",
|
|
||||||
"acfe_group_modal_size": "large"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"location": [
|
"location": [
|
||||||
@@ -215,10 +68,10 @@
|
|||||||
"acfe_form": 0,
|
"acfe_form": 0,
|
||||||
"acfe_display_title": "",
|
"acfe_display_title": "",
|
||||||
"show_in_graphql": 1,
|
"show_in_graphql": 1,
|
||||||
"graphql_field_name": "userProfile",
|
"graphql_field_name": "groupUserProfile",
|
||||||
"map_graphql_types_from_location_rules": 0,
|
"map_graphql_types_from_location_rules": 0,
|
||||||
"graphql_types": "",
|
"graphql_types": "",
|
||||||
"acfe_meta": "",
|
"acfe_meta": "",
|
||||||
"acfe_note": "",
|
"acfe_note": "",
|
||||||
"modified": 1751982984
|
"modified": 1757958987
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
fragment SiteOptions on Ccat {
|
fragment SiteOptions on GroupCcat {
|
||||||
profiles {
|
profiles {
|
||||||
url
|
url
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,7 @@ fragment SiteOptions on Ccat {
|
|||||||
|
|
||||||
query siteOptions {
|
query siteOptions {
|
||||||
siteOptions {
|
siteOptions {
|
||||||
ccat {
|
groupCcat {
|
||||||
...SiteOptions
|
...SiteOptions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
export async function useSiteOptions() {
|
export async function useSiteOptions() {
|
||||||
const { data } = await useAsyncGraphqlQuery("siteOptions", {}, { graphqlCaching: { client: true } });
|
const { data } = await useAsyncGraphqlQuery("siteOptions", {}, { graphqlCaching: { client: true } });
|
||||||
if (data.value?.errors?.length || !data.value?.data.siteOptions?.ccat) {
|
if (data.value?.errors?.length || !data.value?.data.siteOptions?.groupCcat) {
|
||||||
throw createError({ statusCode: 500, message: "Erreur lors de la récupération des options du site" });
|
throw createError({ statusCode: 500, message: "Erreur lors de la récupération des options du site" });
|
||||||
}
|
}
|
||||||
return { ...data.value?.data.siteOptions?.ccat };
|
return { ...data.value?.data.siteOptions?.groupCcat };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ require_once __DIR__ . '/includes/taxonomies/resource-category.php';
|
|||||||
// Forms
|
// Forms
|
||||||
|
|
||||||
// GraphQL
|
// GraphQL
|
||||||
|
require_once __DIR__ . '/includes/graphql/address.php';
|
||||||
require_once __DIR__ . '/includes/graphql/user-switching.php';
|
require_once __DIR__ . '/includes/graphql/user-switching.php';
|
||||||
|
|
||||||
// Roles
|
// Roles
|
||||||
|
|||||||
119
wp-content/themes/ccat/includes/graphql/address.php
Normal file
119
wp-content/themes/ccat/includes/graphql/address.php
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
// Register Address GraphQL type
|
||||||
|
add_action( 'graphql_register_types', 'ccat_graphql_address_register' );
|
||||||
|
function ccat_graphql_address_register() {
|
||||||
|
register_graphql_object_type(
|
||||||
|
'Address',
|
||||||
|
array(
|
||||||
|
'description' => 'ACF Extended Pro Address field with optional sub-fields',
|
||||||
|
'fields' => array(
|
||||||
|
'address' => array(
|
||||||
|
'type' => 'String',
|
||||||
|
'description' => 'The full address',
|
||||||
|
),
|
||||||
|
'name' => array(
|
||||||
|
'type' => 'String',
|
||||||
|
'description' => 'Name of the location (e.g., street address)',
|
||||||
|
),
|
||||||
|
'city' => array(
|
||||||
|
'type' => 'String',
|
||||||
|
'description' => 'City name',
|
||||||
|
),
|
||||||
|
'state' => array(
|
||||||
|
'type' => 'String',
|
||||||
|
'description' => 'Full state or province name',
|
||||||
|
),
|
||||||
|
'stateShort' => array(
|
||||||
|
'type' => 'String',
|
||||||
|
'description' => 'State or province abbreviation',
|
||||||
|
),
|
||||||
|
'country' => array(
|
||||||
|
'type' => 'String',
|
||||||
|
'description' => 'Full country name',
|
||||||
|
),
|
||||||
|
'countryShort' => array(
|
||||||
|
'type' => 'String',
|
||||||
|
'description' => 'Country abbreviation (ISO code)',
|
||||||
|
),
|
||||||
|
'postalCode' => array(
|
||||||
|
'type' => 'String',
|
||||||
|
'description' => 'Postal code or ZIP code',
|
||||||
|
),
|
||||||
|
'placeId' => array(
|
||||||
|
'type' => 'String',
|
||||||
|
'description' => 'Google Places API place ID',
|
||||||
|
),
|
||||||
|
'lat' => array(
|
||||||
|
'type' => 'Float',
|
||||||
|
'description' => 'Latitude coordinate',
|
||||||
|
),
|
||||||
|
'lng' => array(
|
||||||
|
'type' => 'Float',
|
||||||
|
'description' => 'Longitude coordinate',
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Register the Address field type with WPGraphQL ACF
|
||||||
|
add_action( 'wpgraphql/acf/registry_init', 'ccat_graphql_address_register_field_type' );
|
||||||
|
function ccat_graphql_address_register_field_type() {
|
||||||
|
register_graphql_acf_field_type(
|
||||||
|
'acfe_address',
|
||||||
|
array(
|
||||||
|
'graphql_type' => static function () {
|
||||||
|
return 'Address';
|
||||||
|
},
|
||||||
|
'resolve' => static function ( $root, $args, $context, $info, $field_type, $field_config ) {
|
||||||
|
$value = get_field( $field_config['name'], $root, false );
|
||||||
|
if ( empty( $value ) || ! is_array( $value ) ) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
$address_data = array();
|
||||||
|
foreach ( $value as $key => $field_value ) {
|
||||||
|
if ( empty( $field_value ) ) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
switch ( $key ) {
|
||||||
|
case 'address':
|
||||||
|
$address_data['address'] = $field_value;
|
||||||
|
break;
|
||||||
|
case 'name':
|
||||||
|
$address_data['name'] = $field_value;
|
||||||
|
break;
|
||||||
|
case 'city':
|
||||||
|
$address_data['city'] = $field_value;
|
||||||
|
break;
|
||||||
|
case 'state':
|
||||||
|
$address_data['state'] = $field_value;
|
||||||
|
break;
|
||||||
|
case 'state_short':
|
||||||
|
$address_data['stateShort'] = $field_value;
|
||||||
|
break;
|
||||||
|
case 'country':
|
||||||
|
$address_data['country'] = $field_value;
|
||||||
|
break;
|
||||||
|
case 'country_short':
|
||||||
|
$address_data['countryShort'] = $field_value;
|
||||||
|
break;
|
||||||
|
case 'post_code':
|
||||||
|
$address_data['postalCode'] = $field_value;
|
||||||
|
break;
|
||||||
|
case 'place_id':
|
||||||
|
$address_data['placeId'] = $field_value;
|
||||||
|
break;
|
||||||
|
case 'lat':
|
||||||
|
$address_data['lat'] = floatval( $field_value );
|
||||||
|
break;
|
||||||
|
case 'lng':
|
||||||
|
$address_data['lng'] = floatval( $field_value );
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return empty( $address_data ) ? null : $address_data;
|
||||||
|
},
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user