Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Move only some layouts

--only with the layout identifiers; the shared layouts they link to come along.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/build-two-ways/examples/migrate/only-some-layouts.md

On this page

Move only some layouts

Move the new campaign layouts, nothing else.

Life cycle: Migrate, example 2 of 34. Worked out on the Fit & Healthy site of Exponential 6.0.15+.

Contents

  1. In the Layouts editor
  2. On the command line
  3. Which to choose
  4. Check

In the Layouts editor

  1. Or tick the layouts in Layouts > Export.

On the command line

  1. ./console exp:layouts export --only=spring_campaign --output=campaign.zip (the shared layouts it links to are always included; add more with --shared=).
  2. ./console exp:layouts import campaign.zip --dry-run and read the States (new, identical, changed, conflicting).
  3. Run it again without --dry-run, with the --strategy you chose and --publish if the result should be live at once.
  4. Nothing to clear by hand: since explayouts_core 1.0.10 an import with --publish purges the page cache itself.

Which to choose

Small exports are easier to review in the dry run.

Check

  • The dry run lists the campaign layout and Header / Footer.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x