Grouping multiple modules in a coded file?


Good morning all! I have a completely custom coded site. I have added custom modules to my blog articles with the following code:

{% image "thumb_image" label='Thumbnail Image' %}
{% choice "thumb_image_position" label="Thumbnail Position", value="center center", choices="left top, left center, left bottom, right top, right center, right bottom, center top, center center, center bottom", export_to_template_context=True %}

When the user is creating a blog, they can use that 3D Cube icon for Edit Modules on the left to view the modules. My question is whether it’s possible to group these two modules together. Right now, when the user clicks Edit Modules, they have to click the “Thumbnail Position” and “Thumbnail Image” separately. Is there a way to make an Edit Module called “Thumbnail” and when expanded, it shows both the choice and the image modules in one panel?


Hi @JoshPayette,

You could create a custom module that includes both of these fields. Check out the guide to building custom modules in the new design manager: