Fehlerbehebungsartikel TR007-Kopie
{% comment %}
Fehlerbehebung / Hilfe – Umfangreiches Layout + Inhaltsverzeichnis + Hilfreiche Seiten + FAQ-Zeilen (6)
{% endcomment %}
{% if section.settings.show_breadcrumb %}
{% endif %}
{% schema %}
{
"Name": "Fehlerbehebung",
"Einstellungen": [
{ "type": "text", "id": "title", "label": "Seitentitel" },
{ "type": "textarea", "id": "intro", "label": "Intro" },
{ "type": "checkbox", "id": "show_breadcrumb", "label": "Breadcrumb anzeigen", "default": true },
{ "type": "text", "id": "home_label", "label": "Breadcrumb: Home", "default": "Home" },
{ "type": "text", "id": "breadcrumb_label", "label": "Breadcrumb middle", "default": "Support" },
{ "type": "color", "id": "accent", "label": "Akzentfarbe", "default": "#d61b1b" },
{ "type": "range", "id": "title_size", "min": 22, "max": 48, "step": 1, "unit": "px", "label": "Schriftgröße des Titels", "default": 34 },
{ "type": "range", "id": "body_size", "min": 14, "max": 20, "step": 1, "unit": "px", "label": "Schriftgröße des Textkörpers", "default": 16 },
{ "type": "range", "id": "wrap_width", "min": 900, "max": 1400, "step": 10, "unit": "px", "label": "Max. Inhaltsbreite", "default": 1200 },
{ "type": "range", "id": "block_gap", "min": 8, "max": 28, "step": 1, "unit": "px", "label": "Block spacing", "default": 16 },
{ "type": "select", "id": "toc_side", "label": "TOC position", "default": "right", "options": [
{ "value": "right", "label": "Right" }, { "value": "left", "label": "Left" }
]},
{ "type": "text", "id": "toc_title", "label": "Inhaltsverzeichnis-Titel", "default": "Auf dieser Seite" },
{ "type": "text", "id": "video_heading", "label": "Video title", "default": "Install Video" },
{ "type": "url", "id": "video_url", "label": "YouTube/Vimeo URL" },
{ "type": "url", "id": "mp4_url", "label": "MP4 URL (Shopify-Dateien)" },
{ "type": "image_picker", "id": "poster", "label": "Video poster (for MP4)" },
{ "type": "text", "id": "manual_heading", "label": "Handbuchtitel", "default": "Handbuch herunterladen (PDF)" },
{ "type": "url", "id": "manual_url", "label": "URL der PDF-Anleitung" },
{ "type": "textarea", "id": "manual_note", "label": "Handbuchhinweis (optional)" },
{ "type": "text", "id": "manual_btn_text", "label": "Text der Schaltfläche "Handbuch", "default": "PDF-Handbuch herunterladen" },
{ "type": "checkbox", "id": "show_contact", "label": "Kontaktkarte anzeigen", "default": true },
{ "type": "text", "id": "contact_heading", "label": "Kontakttitel", "default": "Kontaktieren Sie uns" },
{ "type": "text", "id": "label_email", "label": "Bezeichnung: E-Mail", "default": "E-Mail:" },
{ "type": "text", "id": "label_phone", "label": "Bezeichnung: Telefon", "default": "Telefon:" },
{ "type": "text", "id": "label_hours", "label": "Bezeichnung: Stunden", "default": "Stunden:" },
{ "type": "text", "id": "email", "label": "E-Mail", "default": "support@example.com" },
{ "type": "text", "id": "phone", "label": "Phone" },
{ "type": "text", "id": "hours", "label": "Stunden" },
{ "type": "checkbox", "id": "enable_helpful", "label": "Hilfreiches Widget aktivieren", "default": true },
{ "type": "text", "id": "helpful_title", "label": "Hilfreicher Titel", "default": "War dieser Artikel hilfreich?" },
{ "type": "text", "id": "helpful_yes", "label": "Hilfreich: Ja", "default": "Ja" },
{ "type": "text", "id": "helpful_no", "label": "Hilfreich: Nein", "default": "Nein" },
{ "type": "text", "id": "helpful_thanks", "label": "Hilfreich: Danke", "default": "Vielen Dank für Ihr Feedback!" }
],
"Blöcke": [
{
"Typ": "Überschrift",
"Name": "H2-Abschnitt",
"Einstellungen": [
{ "type": "text", "id": "title", "label": "Titel" },
{ "type": "richtext", "id": "text", "label": "Optionale Beschreibung" }
]
},
{
"Typ": "FAQ",
"Name": "Einfache FAQ",
"Einstellungen": [
{ "type": "text", "id": "question", "label": "Question" },
{ "type": "richtext", "id": "answer", "label": "Answer" }
]
},
{
"type": "faq_rows",
"Name": "FAQ-Zeilen (6)",
"Einstellungen": [
{ "type": "text", "id": "question", "label": "Question" },
{ "type": "range", "id": "text_size", "min": 14, "max": 22, "step": 1, "unit": "px", "label": "Textgröße", "default": 16 },
{ "type": "select", "id": "line_height", "label": "Zeilenhöhe", "default": "1.6", "options": [
{ "value": "1.4", "label": "1.4" }, { "value": "1.6", "label": "1.6" }, { "value": "1.8", "label": "1.8" }, { "value": "2.0", "label": "2.0" }
]},
{ "type": "range", "id": "paragraph_gap", "min": 4, "max": 24, "step": 1, "unit": "px", "label": "Absatzabstand", "default": 10 },
{ "type": "range", "id": "image_width", "min": 40, "max": 100, "step": 5, "unit": "%", "label": "Medienbreite", "default": 100 },
{ "type": "select", "id": "align", "label": "Media align", "default": "left", "options": [
{ "value": "left", "label": "Links" }, { "value": "center", "label": "Mitte" }
]},
{ "type": "select", "id": "row1_type", "label": "Zeilentyp 1", "default": "paragraph",
"options":[{"value":"paragraph","label":"Paragraph"},{"value":"image","label":"Image"},{"value":"youtube","label":"YouTube/Vimeo"},{"value":"mp4","label":"MP4"}] },
{ "type": "richtext", "id": "row1_text", "label": "Text in Zeile 1" },
{ "type": "image_picker", "id": "row1_image", "label": "Bild aus Zeile 1" },
{ "type": "text", "id": "row1_youtube", "label": "YouTube-/Vimeo-URL Zeile 1" },
{ "type": "url", "id": "row1_mp4", "label": "Row 1 MP4 URL" },
{ "type": "image_picker", "id": "row1_poster", "label": "Row 1 MP4 poster" },
{ "type": "select", "id": "row2_type", "label": "Zeilentyp 2", "default": "paragraph",
"options":[{"value":"paragraph","label":"Paragraph"},{"value":"image","label":"Image"},{"value":"youtube","label":"YouTube/Vimeo"},{"value":"mp4","label":"MP4"}] },
{ "type": "richtext", "id": "row2_text", "label": "Text in Zeile 2" },
{ "type": "image_picker", "id": "row2_image", "label": "Bild aus Zeile 2" },
{ "type": "text", "id": "row2_youtube", "label": "YouTube-/Vimeo-URL Zeile 2" },
{ "type": "url", "id": "row2_mp4", "label": "Row 2 MP4 URL" },
{ "type": "image_picker", "id": "row2_poster", "label": "Row 2 MP4 poster" },
{ "type": "select", "id": "row3_type", "label": "Zeilentyp 3", "default": "paragraph",
"options":[{"value":"paragraph","label":"Paragraph"},{"value":"image","label":"Image"},{"value":"youtube","label":"YouTube/Vimeo"},{"value":"mp4","label":"MP4"}] },
{ "type": "richtext", "id": "row3_text", "label": "Text in Zeile 3" },
{ "type": "image_picker", "id": "row3_image", "label": "Bild in Zeile 3" },
{ "type": "text", "id": "row3_youtube", "label": "YouTube-/Vimeo-URL Zeile 3" },
{ "type": "url", "id": "row3_mp4", "label": "Row 3 MP4 URL" },
{ "type": "image_picker", "id": "row3_poster", "label": "Row 3 MP4 poster" },
{ "type": "select", "id": "row4_type", "label": "Zeilentyp 4", "default": "paragraph",
"options":[{"value":"paragraph","label":"Paragraph"},{"value":"image","label":"Image"},{"value":"youtube","label":"YouTube/Vimeo"},{"value":"mp4","label":"MP4"}] },
{ "type": "richtext", "id": "row4_text", "label": "Text in Zeile 4" },
{ "type": "image_picker", "id": "row4_image", "label": "Bild in Zeile 4" },
{ "type": "text", "id": "row4_youtube", "label": "YouTube-/Vimeo-URL Zeile 4" },
{ "type": "url", "id": "row4_mp4", "label": "Row 4 MP4 URL" },
{ "type": "image_picker", "id": "row4_poster", "label": "Row 4 MP4 poster" },
{ "type": "select", "id": "row5_type", "label": "Zeilentyp 5", "default": "paragraph",
"options":[{"value":"paragraph","label":"Paragraph"},{"value":"image","label":"Image"},{"value":"youtube","label":"YouTube/Vimeo"},{"value":"mp4","label":"MP4"}] },
{ "type": "richtext", "id": "row5_text", "label": "Text in Zeile 5" },
{ "type": "image_picker", "id": "row5_image", "label": "Bild in Zeile 5" },
{ "type": "text", "id": "row5_youtube", "label": "YouTube-/Vimeo-URL Zeile 5" },
{ "type": "url", "id": "row5_mp4", "label": "Row 5 MP4 URL" },
{ "type": "image_picker", "id": "row5_poster", "label": "Row 5 MP4 poster" },
{ "type": "select", "id": "row6_type", "label": "Zeilentyp 6", "default": "paragraph",
"options":[{"value":"paragraph","label":"Paragraph"},{"value":"image","label":"Image"},{"value":"youtube","label":"YouTube/Vimeo"},{"value":"mp4","label":"MP4"}] },
{ "type": "richtext", "id": "row6_text", "label": "Text in Zeile 6" },
{ "type": "image_picker", "id": "row6_image", "label": "Bild in Zeile 6" },
{ "type": "text", "id": "row6_youtube", "label": "YouTube-/Vimeo-URL Zeile 6" },
{ "type": "url", "id": "row6_mp4", "label": "Row 6 MP4 URL" },
{ "type": "image_picker", "id": "row6_poster", "label": "Row 6 MP4-Poster" }
]
},
{
"Typ": "Linkkarte",
"Name": "Linkkarte",
"Einstellungen": [
{ "type": "text", "id": "title", "label": "Titel" },
{ "type": "textarea", "id": "text", "label": "Description" },
{ "type": "text", "id": "link_btn", "label": "Button text" },
{ "type": "url", "id": "link", "label": "URL" }
]
},
{
"Typ": "html",
"Name": "Benutzerdefiniertes HTML",
"Einstellungen": [
{ "type": "text", "id": "title", "label": "Optionaler Titel" },
{ "type": "richtext", "id": "custom_html", "label": "Content" }
]
}
],
"max_blocks": 50
}
{% endschema %}
{{ section.settings.title | default: page.title }}
{% if section.settings.intro != blank %}{{ section.settings.intro }}
{% endif %}
{% if section.settings.video_url != blank or section.settings.mp4_url != blank %}
{% endif %}
{% if section.settings.manual_url != blank %}
{% endif %}
{% for block in section.blocks %}
{% case block.type %}
{% when 'heading' %}
{% endif %}
{% when 'faq' %}
{% when 'faq_rows' %}
{% when 'link_card' %}
{% when 'html' %}
{% endif %}
{% if section.settings.enable_helpful %}
{% endif %}
{{ section.settings.video_heading | default: 'Install Video' }}
{% if section.settings.video_url != blank %}
{% else %}
{% endif %}
{{ section.settings.manual_heading | default: 'Download Manual (PDF)' }}
{% if section.settings.manual_note != blank %}{{ section.settings.manual_note }}
{% endif %}{{ section.settings.manual_btn_text | default: 'Download PDF Manual' }}
{{ block.settings.title }}
{% if block.settings.text != blank %}{{ block.settings.text }}
{{ block.settings.question }}
{{ block.settings.answer }}
{{ block.settings.question }}
{% for i in (1..6) %}
{% assign key_type = 'row' | append: i | append: '_type' %}
{% assign row_type = block.settings[key_type] %}
{% if row_type == 'paragraph' %}
{% assign key_txt = 'row' | append: i | append: '_text' %}
{% if block.settings[key_txt] != blank %} {{ block.settings[key_txt] }} {% endif %}
{% elsif row_type == 'image' %}
{% assign key_img = 'row' | append: i | append: '_image' %}
{% if block.settings[key_img] != blank %}
{% endif %}
{% elsif row_type == 'mp4' %}
{% assign key_mp4 = 'row' | append: i | append: '_mp4' %}
{% assign key_pst = 'row' | append: i | append: '_poster' %}
{% if block.settings[key_mp4] != blank %}
{% endif %}
{% endif %}
{% endfor %}
{{ block.settings.title }}
{% if block.settings.text != blank %}{{ block.settings.text }}
{% endif %} {% if block.settings.link != blank %} {% endif %}
{% if block.settings.title != blank %}
{% endcase %}
{% endfor %}
{% if section.settings.show_contact %}
{{ block.settings.title }}
{% endif %}{{ block.settings.custom_html }}
{{ section.settings.contact_heading | default: 'Contact Us' }}
{{ section.settings.label_email | default: 'Email:' }} {{ section.settings.email | default: 'support@example.com' }}
{% if section.settings.phone != blank %}{{ section.settings.label_phone | default: 'Phone:' }} {{ section.settings.phone }}
{% endif %} {% if section.settings.hours != blank %}{{ section.settings.label_hours | default: 'Hours:' }} {{ section.settings.hours }}
{% endif %}