Modules - Nested
Dokio now has the ability to nest modules inside modules. This has a few significant advantages, but mostly it will allow better navigation of module options and a more streamlined editor interface for many complex templates.
Nested modules carry all the same features of regular modules. The main difference is that you can now add a selection of modules inside a regular module. So the following behaviours can still be applied to a nested module:
- Limit the number of modules that can be added by a user
- Toggle modules to be active or inactive
- Lock the order or allow modules to be re-ordered
- Add / remove modules (if re-orderable)
- Set which nested modules are available to select from a particular module
Simplify complex templates
Due to the nature of how modules work, the interface for editing options can be simplified to make it easier to navigate content. Previously, multiple module groups would have been required to allow the necessary functionality in a template. With nested modules, many of these cases could be simplified to a single nested module grouping.
Make multipage templates easier to navigate
For some templates, modules are used to control per-page content. So one module is the equivalent to one page in the artwork. Coupled with module auto numbering, this is a great way to make it clearer to users which content is controlled with which module. With nested modules, this becomes even easier and presents more flexibility and options to be made available.
Reduce need for some conditional modules
To achieve similar functionality previously, we relied on using conditional fields. Whilst very useful, they also have their limitations in terms of what can be achieved. It also introduces added complexity in the template coding. Nested modules can alleviate some need for conditional fields. Conditional fields can still exist within a nested module also if required.