Discussions
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?
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
```Text Section Definition
---
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.
Posted by Tony 7 months ago
block_display: tree not working
I tried to implement a menu section as suggested [here](https://doc.locomotivecms.com/discuss/603f8aa0a0b7aa004f7bb65a).
I'm using the attribute `blocks_display: tree` for the section, but it does not seem to work. The list of blocks in the editor UI is still linear and does not look like a tree. I can't even access any of the blocks I created inside my liquid template using `section.blocks_as_tree`. `section.blocks` seems to work.
Can somebody give me an example of a working section using `blocks_display: tree` ? Or maybe i understood something wrong ?
Thanks !
Posted by Grégoire Colson about 3 years ago