Render a Content Section with Custom Configuration Section
Widget framework introduces a new feature Custom Configuration Section. Using this feature user can assign a special configuration section to one or more content sections. The advantage of this feature is user don't have to create separate configuration section for each of the content sections. For example, consider the following section hierarchy:
Frontpage/ Sprots/ Cricket Football Tennis Basketball
The relevant conguration section hierarchy:
config/ config.default/ config.default.section/ config.default.section.sports/ config.default.section.sports.cricket config.special/ config.special.section/ config.special.section.sports
By default, Cricket will be rendered using config.default.section.sports.cricket and other sections using config.default.section.sports. Now using Custom Config Section feature you can render these sections (Tennis or Football or both) using a special configuration section (For example, config.special.section.sports) while the other sections use the default configuration hierarchy. One other advantage is special configuration section can have it's own hierarchy.
In order to do this following steps are required:
-
Open the content section page in the content studio.
-
Click on the page Options button in the right panel
-
A new window named Group options of Content will appear.
-
In the Custom Config field select the custom config section you wish to render the content section with. Click Ok button and then publish the section.
-
Now the content section will render with the custom configuration section that you selected.