Discussions
block_display: tree not working
over 3 years ago by Grégoire Colson(edited)
I tried to implement a menu section as suggested here.
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 !