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

Plan campaigns with start and end dates

A mapping can have a Time condition (from, to); plan campaign layouts with it: since explayouts 1.4.42 the layout switches at the start and the end, without lag.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/build-two-ways/examples/plan/campaign-calendar.md

On this page

Plan campaigns with start and end dates

A campaign layout that takes over a page from one date to another.

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

Contents

  1. In the Layouts editor
  2. With templates
  3. Which to choose
  4. Check

In the Layouts editor

  1. New mapping offers the condition Time next to Siteaccess, Class, Query parameter and Route parameter.
  2. The resolver checks the time against from and to. Since explayouts 1.4.42 it remembers that answer only until the condition's next start or end, not for [ResolverSettings] CacheTTL; when that moment is within the page cache's [HttpCacheSettings] MaxAge (3600 seconds), the page is kept out of the page caches (Cache-Control: private, no-store). A range that is over is cached normally.

With templates

  1. The template way is a condition in the template (currentdate() against a date) and a cache clear at the switch.

Which to choose

Plan the switch with the Time condition: it switches at its start and end, without lag.

Check

  • The campaign mapping has a higher priority than the regular one.

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