How to edit identical content on multiple sites (themes)

Hi, for a client we have a soltions module with 12 solutions in a 3x4 module.

When we have used a template drag&drop (the old way) I have edited the module in one template and then copy/pasted it to 3 other templates to save time in doing the work again and again.

With the new themes layout, how can I execute this task in the easiest way?

Hi @Ckleming

If you are using the CMS CLI, you can update in one place and push the changes to whichever portal you want.

Not sure if that is the answer you are looking for so feel free to reply and we can figure it out :slightly_smiling_face:

@Anton and @alyssamwilie probably have some tricks up their sleeves as well :grinning_face:

Thank you for replying.

Not quite what I am after. Guess I am looking for an easy way out here.

I want to edit on one page and then duplicate that content to multiple pages without (hopefully) touching code.

Is it possible?

Thank you, Charlotte

Heyo @Ckleming

Are you wanting to clone a page? Are all of these pages on the same portal?

Without touching code, the only way to copy the content is by cloning the page.

When the modules were built, ideally they would have included default content so whenever a module was placed on a page, content would have been included.

If this is not what you are going for, maybe you could elaborate on your use case?

Dennis, thank you.

Yes, I understand the cloning part. I want to clone parts of a page, in same portal.

When working with “the old” kind of templates, I could edit sections in the template and it would update every page connected to this template. But with the “theme-template” I cant work like this.

The issue is when I have to edit a section 6 times, because I have the same section on several pages.

Example: I have a solutions section on six pages. I want edit this section one place and then paste ut in the other pages, without editing everywhere, and building it again and again. Does it make sense?

I have successfully manage to clone and edit the default content og a modulet, and then have to opportunity to drop it into several pages. But there is several modules I cant do this to.

So I am looking for an option here, if there are one.

Thanks.

Hi @Ckleming,

I think the keyword is “global module”. If you’re familiar with custom modules(it’s quite easy) you should be able to “recreate” your regular module/function as a new custom module - the most important part would be to set it as “global module” when creating it.
After you’ve written the code and added all your functions(text, images, booleans…) save it. Personally I go with the “edit in global edit mode” view directly from inside the module(the button should be at the top of the right sidebar). After you’ve placed your content into the fields click on “publish” in the top right corner.

Done.

You can place your module into the pages you’d like. If you want you can paste the module into the page first - it’s up to you.
If you want to change any content in this module you can either click on it in the page or you go the “design-manager”-way. Up to you. It will always open a new tab with the global editor and as soon as you publish your changes it will update the content on all pages where you’ve put the module

hope this helps

best,

Anton