Open westonganger opened 5 years ago
Sometimes, a section can be used both as a standalone section and in a dropzone. That's why we need different kind of settings, especially in Wagon.
@DonKoko, @manuchap, did you have problems with that?
Agreed
Agreed
Again agreed :-)
Agreed
Totally agreed. The SectionManager is very useful when you don't want to repeat yourself when you generate a new section.
Yeah, not sure about this one but it makes sense.
Maybe it was a bit confusing the first time, but not anymore. For me its clear that its scoped to the parent, which is either the section or the block.
Took me a while to wrap my head around sections, especially grasping arrays and objects. I'll post more sections examples in TGV (when if find the time :-) What I found confusing was how wagon renders data either from the page header or from the default settings in the json definition.
1 - Ok I understand they may be different, but how do I tell which one is for which? Can we maybe update to dropzone_presets
, default_content
, existing_sections_content
9 - Add sections_content
description from docs "Display a Section" into "JSON Definition"
6 - Looks good but I meant more like kitchen sink examples that highlight the difference between the 3 ways of using sections (global, standalone, and dropzone)
6 - Hmm maybe I was thinking to have a code snippet with tabs in it where the tab names are "Global", "Standalone", "Dropzone" where each one is showcased and you can click each tab and compare the differences. Similar to the snippet here for the field types https://doc.locomotivecms.com/v4.0/docs/json-definition#settings
9 - The documentation is missing for the Section drop from the Liquid -> Drops page. Also there should also be a section.name
method here
The Documentation for Sections is quite difficult to comprehend. I have some questions and concerns.
presets
,default
,sections_content
? To be honest they all seem very similar. If so can they possibly be merged in any way to simplify this somehow?settings
key could be renamed tomain_settings