Hello, this time I try to have content from builder going in a column or the other.
I would like the toggle
choixcolonne to be in each section of the builder so that the user can choose where the content go.
I try with different combination, I ask for help with this:
<?php if ($block->choixcolonne()->toBool()): ?> <?php foreach($page->builder()->toBuilderBlocks() as $block): snippet('blocks/' . $block->_key(), array('data' => $block)); endforeach; ?> <?php endif ?>
My blueprint look something like this
fields: builder: type: builder fieldsets: extratext: blocks/extratext
name: Extratexte tabs: content: fields: choixcolonne: type: toggle default: false
I get the feedback I do it wrong, I get the feeling I might do it differently in my approach, (I plan to have a snippet for the toggle to repeat in other template blueprint), can you help with this? Thank you