From b09e7b0ded02754f942499901d30b85526f4339c Mon Sep 17 00:00:00 2001 From: rmens Date: Tue, 20 Aug 2024 23:26:43 +0200 Subject: [PATCH] Rework commercials --- .../group_603c10f5364c8.json | 105 ++++++++++++++---- .../group_66c5010145df1.json | 28 ++++- 2 files changed, 107 insertions(+), 26 deletions(-) diff --git a/streekomroep-acf-json/group_603c10f5364c8.json b/streekomroep-acf-json/group_603c10f5364c8.json index f443f0b8..4cbb849a 100644 --- a/streekomroep-acf-json/group_603c10f5364c8.json +++ b/streekomroep-acf-json/group_603c10f5364c8.json @@ -1,13 +1,14 @@ { "key": "group_603c10f5364c8", - "title": "TV - Kabelkrant reclame", + "title": "Tekst TV - Reclame", "fields": [ { "key": "field_603c11fdf28cd", - "label": "Slides", - "name": "tv_reclame_slides", + "label": "Campagnes", + "name": "teksttv_reclame_campagnes", + "aria-label": "", "type": "repeater", - "instructions": "", + "instructions": "Reclameblokken worden samengesteld uit campagnes. Een campagne kan een of meerdere slides bevatten.", "required": 0, "conditional_logic": 0, "wrapper": { @@ -15,17 +16,20 @@ "class": "", "id": "" }, - "collapsed": "", + "layout": "row", + "pagination": 0, "min": 0, "max": 0, - "layout": "table", - "button_label": "Nieuwe slide", + "collapsed": "field_603c120ff28ce", + "button_label": "Nieuwe campagne", + "rows_per_page": 20, "sub_fields": [ { "key": "field_603c120ff28ce", - "label": "Afbeelding", - "name": "tv_reclame_afbeelding", - "type": "image", + "label": "Slides", + "name": "slides", + "aria-label": "", + "type": "gallery", "instructions": "", "required": 0, "conditional_logic": 0, @@ -35,49 +39,103 @@ "id": "" }, "return_format": "array", - "preview_size": "medium", "library": "all", + "min": "", + "max": "", "min_width": "", "min_height": "", "min_size": "", "max_width": "", "max_height": "", "max_size": "", - "mime_types": "" + "mime_types": "", + "insert": "prepend", + "preview_size": "thumbnail", + "parent_repeater": "field_603c11fdf28cd" }, { "key": "field_603c1232f28cf", - "label": "Begindatum", - "name": "tv_reclame_start", + "label": "Datum in", + "name": "datum_in", + "aria-label": "", "type": "date_picker", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { - "width": "", + "width": "27.5", "class": "", "id": "" }, "display_format": "d\/m\/Y", "return_format": "d\/m\/Y", - "first_day": 1 + "first_day": 1, + "parent_repeater": "field_603c11fdf28cd" }, { "key": "field_603c126bf28d0", - "label": "Eindddatum", - "name": "tv_reclame_eind", + "label": "Datum uit", + "name": "datum_uit", + "aria-label": "", "type": "date_picker", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { - "width": "", + "width": "27.5", "class": "", "id": "" }, "display_format": "d\/m\/Y", "return_format": "d\/m\/Y", - "first_day": 1 + "first_day": 1, + "parent_repeater": "field_603c11fdf28cd" + }, + { + "key": "field_66c50b0158e39", + "label": "Seconden", + "name": "seconden", + "aria-label": "", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "9", + "class": "", + "id": "" + }, + "default_value": "", + "min": 1, + "max": "", + "placeholder": "", + "step": "", + "prepend": "", + "append": "", + "parent_repeater": "field_603c11fdf28cd" + }, + { + "key": "field_66c510307dd5d", + "label": "Groep", + "name": "groep", + "aria-label": "", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "6", + "class": "", + "id": "" + }, + "default_value": 1, + "min": 0, + "max": "", + "placeholder": "", + "step": "", + "prepend": "", + "append": "", + "parent_repeater": "field_603c11fdf28cd" } ] } @@ -87,7 +145,7 @@ { "param": "options_page", "operator": "==", - "value": "tv-instellingen" + "value": "teksttv" } ] ], @@ -99,5 +157,6 @@ "hide_on_screen": "", "active": true, "description": "", - "modified": 1615031430 -} \ No newline at end of file + "show_in_rest": 0, + "modified": 1724192501 +} diff --git a/streekomroep-acf-json/group_66c5010145df1.json b/streekomroep-acf-json/group_66c5010145df1.json index 9e0aff17..5fbc219e 100644 --- a/streekomroep-acf-json/group_66c5010145df1.json +++ b/streekomroep-acf-json/group_66c5010145df1.json @@ -304,7 +304,7 @@ "required": 0, "conditional_logic": 0, "wrapper": { - "width": "50", + "width": "45", "class": "", "id": "" }, @@ -329,7 +329,7 @@ "required": 0, "conditional_logic": 0, "wrapper": { - "width": "50", + "width": "45", "class": "", "id": "" }, @@ -343,6 +343,28 @@ "max_size": "", "mime_types": "", "preview_size": "thumbnail" + }, + { + "key": "field_66c511bbf12b2", + "label": "Groep", + "name": "groep", + "aria-label": "", + "type": "number", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "10", + "class": "", + "id": "" + }, + "default_value": "", + "min": "", + "max": "", + "placeholder": "", + "step": "", + "prepend": "", + "append": "" } ], "min": "", @@ -381,5 +403,5 @@ "active": true, "description": "", "show_in_rest": 0, - "modified": 1724187037 + "modified": 1724191180 }