Discussions

Ask a Question
Back to All

I have a page with many sections, each section contains many blocks, and within each block, I want to have many child blocks. Can someone please support me?

(edited)

I have a page with many sections, each section contains many blocks, and within each block, I want to have many child blocks. Can someone please support me?

---
title: Mobile dashboard
published: true
listed: false
# response_type: application/json

sections_dropzone_content:

# Manage more way to use abc section
- type: mobile_dashboard_abc_ways
  settings:
    show_section: true
    section_title: More ways to use abc
  blocks:
  - type: mobile_dashboard_abc_ways_card
    settings:
      image_banner: ""
      name: "Way
      title: "This is way 1"
      description: "This is way 1"
      cta_name: ""
      cta_url: ""
      project_codes: 'code-001,code-002'
      design_profile_codes: 'code-001,code-002'
      steps: [
        {title: 'test', description: 'des'}
      ]
      features:[
        {title: 'test'}
      ]
      show_card: true
      show_tag: true
---
  {% extends 'layouts/mobile-dashboard' %}
  {% block main %}
    <div id="page__{{ page.slug }}">
      {% sections_dropzone %}
    </div>
  {% endblock %}

In my sections

---
name: Mobile dashboard
icon: default
settings:
- label: Title
  id: section_title
  type: text
- label: Show Section?
  id: show_section
  type: checkbox
  default: true

blocks_label: List of abc ways cards
block_max_depth: 1
blocks:
- name: Sakani ways cards
  type: mobile_dashboard_abc_ways_card
  settings:
  - label: Steps
    id: steps
    type: text

  - label: Features
    id: features
    type: text

---
  <p>This is management section for mobile dashboard</p>

I want Steps and Features I can input value is title and description for show value in navigation of admin cms.