This project is read-only.

How do changes to layout templates affect the elements that use them?

Topics: Customizing Orchard, Writing modules
Oct 7, 2015 at 10:18 AM
I couldn't really find an authoritative place with answers so I'm going to ask them here.

So I create a Layout Template with some open container elements, and then create content items based on these templates by adding elements to these containers.

Later, if I edit the template, what happens to the elements that have already been laid out on the layout? I'd like to know specifically in the following cases:
  1. The layout changes and the container spaces that can accept elements have moved in the layout hierarchy on the template. Are they going to be moved or reoriented in the layout somewhere?
  2. The layout removes container spaces. Is the element that fills that container going to be removed, or will it be repositioned in the layout somewhere?
I guess my question really is, are elements that are dragged into containers on a template somehow tied to those containers so they can be tracked when these containers get moved during a template edit?