Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here is the situation.
We have created a blueprint space and created 200 spaces based on that blueprint space.
After a while it was decided that the layout of the spaces have to be changed. Do we need to individually change all space layouts or is there a way to re-apply the blueprint to the spaces?
Cheers, Joep
Comments
Comment #2
mpotter CreditAttribution: mpotter commentedIf you are using Space Templates for your layouts, then changing the template will automatically change all spaces that use that template. So I always recommend that Blueprints also use space templates like this.
If your Blueprint is just based on a node-specific "Customize Page" space, then no, there is no way to re-apply the Blueprint.
Keep in mind that using "Customize Page" creates a node-specific layout that Blueprints will clone to the new space nodes. In your case that could cause 200 identical node layouts to be created (they look the same but they are stored individually). On the other hand, if your blueprint space is using a space template, then the cloned spaces will use the same template, giving you a single layout that is shared across your spaces.
Each of these methods have their own use-cases so it's really up to you to decide how to build your blueprints.
Comment #3
joep.hendrix CreditAttribution: joep.hendrix at CompuBase Internet Solutions commentedAh, thanks Mike.
So much to discover in OA. Will dig into it.