Backend of the sub-market template (spec agreed section by section with
the customer workflow in mind: the customer fills one XLSX per sub-market, an importer builds the page). - Frontend layout 21 'Sub-Market Page' in the existing BackendLayoutDataProvider: six zones, one per Figma section, emitted as colPos110..colPos160 - the JSON groups plus appearance.layout are the front-end contract (spec clause 7.17). A first attempt via page-TSconfig BackendLayouts was the wrong mechanism next to the provider and was removed again - New Content Blocks vitec_markethero, vitec_marketintro, vitec_marketinsights (field bags, serialized unprefixed under data); the workflow section reuses intro-paragraph + vitec_card flip cards - Stories gained quote/quote_person/quote_role (Testimonial tab), maintained once per story, emitted on every story card; usecaselist gained the layout value 'testimonials' - New plugin vitec_productfeature: one referenced product as a full product card, serialisation shared with the product list (cObj made protected for the subclass) - vitec_productlist gained hand-picked product selection: exactly the chosen products in the editor's order, category filter ignored, visibility filters kept - closes the long-standing single-select gap - New CLI vitec:generate-submarket-workbooks: one protected customer XLSX per sub-market (9 main markets, 25 sub-markets from the Market category tree) - dropdowns filled live from the database, named ranges as the importer contract, hidden Meta sheet pinning submarket/group/ record uid, soft character-limit warnings, asset URL fields Verified end to end on Broadcast & Media: layout-21 payload with colPos110 carrying the hero element and its subline. Spec raised to v1.20.
This commit is contained in:
1 parent
f0b0694842
commit
90ae6803a4
31 files changed
+493
-7
No files matched your search
@@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
|
||||
<rect x="1.5" y="2.5" width="13" height="11" rx="1" fill="none" stroke="#000" stroke-width="1.2"/>
|
||||
<text x="3.4" y="6.6" font-family="serif" font-weight="bold" font-size="6" fill="#000">¶</text>
|
||||
<rect x="3" y="8" width="9" height="1" rx="0.2" fill="#000" opacity="0.4"/>
|
||||
<rect x="3" y="9.6" width="7.5" height="1" rx="0.2" fill="#000" opacity="0.35"/>
|
||||
<rect x="3" y="11.2" width="4" height="1.6" rx="0.3" fill="#000" opacity="0.55"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 536 B |
@@ -0,0 +1,33 @@
|
||||
# Sub-market template section 2 (spec 2026-10-01).
|
||||
name: vitec/market-intro
|
||||
group: vitec_custom_components
|
||||
prefixFields: true
|
||||
prefixType: vendor
|
||||
|
||||
fields:
|
||||
- identifier: intro_text
|
||||
type: Textarea
|
||||
rows: 6
|
||||
|
||||
- identifier: image
|
||||
type: File
|
||||
minitems: 0
|
||||
maxitems: 1
|
||||
allowed: common-image-types
|
||||
|
||||
- identifier: learnmore_section
|
||||
type: Palette
|
||||
label: Learn-more button (optional)
|
||||
fields:
|
||||
- identifier: learnmore_label
|
||||
type: Text
|
||||
max: 40
|
||||
default: Learn more
|
||||
- identifier: learnmore_target
|
||||
type: Text
|
||||
max: 500
|
||||
|
||||
- identifier: show_portfolio
|
||||
type: Checkbox
|
||||
renderType: checkboxToggle
|
||||
default: 1
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xliff version="1.2">
|
||||
<file source-language="en" datatype="plaintext" original="messages">
|
||||
<body>
|
||||
<trans-unit id="title"><source>VITEC · Market Intro</source></trans-unit>
|
||||
<trans-unit id="description"><source>Sub-market template, section 2: intro text, image right, optional learn-more button, portfolio button toggle.</source></trans-unit>
|
||||
<trans-unit id="intro_text.label"><source>Intro text</source></trans-unit>
|
||||
<trans-unit id="intro_text.description"><source>Plain text, max ~350 characters. No HTML.</source></trans-unit>
|
||||
<trans-unit id="image.label"><source>Image (right)</source></trans-unit>
|
||||
<trans-unit id="image.description"><source>636x469 (about 4:3).</source></trans-unit>
|
||||
<trans-unit id="learnmore_label.label"><source>Label</source></trans-unit>
|
||||
<trans-unit id="learnmore_target.label"><source>Target</source></trans-unit>
|
||||
<trans-unit id="learnmore_target.description"><source>Section anchor (workflow, testimonials, products, insights) OR a URL. Empty = no button.</source></trans-unit>
|
||||
<trans-unit id="show_portfolio.label"><source>Show "Product Portfolio" button</source></trans-unit>
|
||||
<trans-unit id="show_portfolio.description"><source>Links to /products (fixed for now).</source></trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<f:layout name="Preview"/>
|
||||
<f:section name="Content">
|
||||
<f:asset.css identifier="vitec-backend-preview" href="EXT:vitec/Resources/Public/Css/backend-preview.css"/>
|
||||
<div class="vitec-preview">
|
||||
<div class="vitec-preview__body">
|
||||
<strong>Market Intro</strong> — <f:format.crop maxCharacters="120">{data.vitec_intro_text}</f:format.crop>
|
||||
</div>
|
||||
</div>
|
||||
</f:section>
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<!-- Headless mode: JSON is built by nb-headless-content-blocks -->
|
||||
</html>
|
||||
Reference in new issue
Block a user