Repository navigation
Kaleta 2.0 – one clear system
Kaleta 2.0 is one clear system. It brings no new features: the compatibility layers kept through the 1.x releases are gone. Your content, your look and your Claude connection carry over as they are.
One pop-up system
The per-page pop-up element (the "Modal" or "Pop-up window" element of the builder) is gone. During the update, each one becomes a site pop-up in Appearance → Pop-ups:
- Same content, trigger and frequency.
- "Only via a link" becomes the trigger "click".
- After 5, 15 or 30 seconds, after half the page and on leaving stay as they were.
- "Once a week" becomes every 7 days, and "never again" becomes until the visitor closes it.
- Shown only where it was – its page, its collection's item pages, or the pages of its header or footer variant.
- Links keep working. The button that opened it now opens the pop-up, and an address like
/page#offerstill opens it.
Importing an export from a 1.x site converts the element the same way.
Removed
- The public read-only API (
/api/novinky,/api/kategorie,/api/stranky, deprecated since 1.8). Instead use:- the JSON Feed (
/feed.json) or RSS for news; - the Claude connection for working with the site;
- webhooks for events;
- the site export to take your content out.
- the JSON Feed (
- Admin addresses of 1.3 (
admin.php?modul=…&akce=…). Old bookmarks now open the start screen. - Class names and template helpers of 1.3 (
datum(),cislo()…). Custom PHP code that still used them needs the current names. - Settings under the names of 1.4.0 and older. They were renamed long ago; the Claude connection still accepts the old names, so no connection breaks.
- The "Before Kaleta 2.0" report in System status, which has done its job.
What stays
- The hidden Czech tool names of the Claude connection – existing connections keep working.
- Everything built with the builder, collections, news, forms, newsletters, webhooks and backups.
Updating
Update from Settings → Backups and updates. It works from every earlier release – tested from 1.2, 1.4.1 and 1.9. The pop-up conversion runs by itself on the first page load after the update. Afterwards, check Appearance → Pop-ups for anything that came from a component: such a pop-up shows on the whole site, so set its places.
For contributors
- Data migrations:
system/sql/migrace/NNNN-*.phpreturns a function. It must be the highest number of its release, because the previous release's code runs the update request and knows only SQL files. - Pop-up conversion:
Builder\ModalConversion, used by migration 0034 and by the import of 1.x exports. - Old settings keys: they live only in
Core\OldSettingsKeys, for updates, MCP and imports. system/class-aliases.phpis empty and kept for one release, so updates from 1.4–1.9 cannot hit a missing file.