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

Retire a view type after a redesign

Remove it from ViewTypes[] only after no block uses it; find them in an export.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/build-two-ways/examples/redesign/retire-a-view-type.md

On this page

Retire a view type after a redesign

Clean up a look the new design does not have.

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

Contents

  1. In the Layouts editor
  2. With an export and settings
  3. Which to choose
  4. Check

In the Layouts editor

  1. Change each block found to another view type (on explayouts_ui_api before 1.3.29, mind the save quirk).

With an export and settings

  1. Export all layouts and search layouts.json for "view_type": "<name>"; switch those blocks first.
  2. Then remove the ViewTypes[] line (with exp:ini rem) and the template.

Which to choose

Blocks keep their stored view type; a removed one would point at a missing template.

Check

  • A new export has no block with the old view type.

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