Browse by topic

Discover Text

Explore related documentation through its most useful keyword groups.

1438 items

Grouped by Architecture

All Text

User guide

Removing media

Remove an image from one page or delete the shared item.

User guide

Connecting pages

Link an article to an author, subject, or another page.

User guide

Adding links

Link readers to another page, website, or email address.

User guide

Editing a page

Change existing content and check the result.

User guide

Creating a page

Start a new page with the right category and language.

Developer guide

Deploy a repeatable release

Record the code revision, build steps, configuration changes, and schema changes for the release. Build and test the same revision in an acceptance environment…

Models

m_geomap

Expose GeoMap configuration and country-map data to templates and model GET requests.

Modules

mod_geomap

Add resource locations, map display, geocoding, and geographic searches to Zotonic. Enable mod_geomap on the site; it depends on mod_l10n .

Models

m_sso_openidc

Expose OpenID Connect provider configuration and public provider choices to templates, and supply provider storage and logon lookup functions to Erlang.

Modules

mod_sso_openidc

Add OpenID Connect (OIDC) single sign-on providers to Zotonic's logon and signup flow. Users authenticate at an external identity provider, and Zotonic links…

Modules

mod_translate_argos

Provides automatic translation using a local Argos Translate Python worker as a translation service for Zotonic's mod_translation module.

Models

m_translate_argos

Translate plain text and HTML with Argos Translate and manage its language packages through a shared local Python worker.

Models

m_translate_deepl

Translates lists of texts using the DeepL API and exposes whether an API key has been configured.

Modules

mod_translate_deepl

Provides automatic text translation through DeepL as a translation service for Zotonic's mod_translation module.

Models

translation_tree

Tree translation API. get/<id> returns language counts, get/status/<id> returns job progress and post/<id> starts a job. Reads require edit access to the root

Filters

admin_filter_count

Count active filters in admin overview query arguments, for example to display the number of selected filters on the overview's Filter button.

Cotonic models

model/auth-ui Cotonic

model/auth-ui Manages Zotonic's login, reminder, verification, reset, and password-change views. The standard _logon.tpl starts the worker and supplies the…

Cotonic

Zotonic Cotonic models Cotonic

Zotonic Cotonic models These browser-side models extend Cotonic with Zotonic functionality. Each model has its own reference page:

Cotonic models

model/auth Cotonic

model/auth Owns browser authentication state and communicates with /zotonic-auth . It checks and refreshes authentication, manages login/logout and password…

Cotonic models

model/clipboard Cotonic

model/clipboard Copies text using the browser Clipboard API. Implemented in the wires script. Browser clipboard availability and permission rules still apply.

Cotonic models

model/alert Cotonic

model/alert Displays a Zotonic alert dialog through the wires script and z_dialog_alert . The page must have the normal Zotonic dialog support loaded.

Cotonic models

model/activity Cotonic

model/activity Publishes browser activity observed by Zotonic's wires script. This is an event-only model: it has no get , post , or delete operations and no…

Cotonic models

model/fileuploader Cotonic

model/fileuploader Queues browser files and uploads them in chunks through mod_fileuploader . The _fileuploader_worker.tpl include starts the worker. It…

Cotonic models

model/wires Cotonic

model/wires Connects Cotonic messages to named Zotonic events through the wires script.

Cotonic models

model/console Cotonic

model/console Writes structured messages to the browser console and answers diagnostic pings. Implemented in the wires script.

Cotonic models

model/loadmore Cotonic

model/loadmore Replaces a loader element with a server-rendered template. Include js/models/loadmore.js from mod_base on pages that use this model.

Cotonic models

model/oauth Cotonic

model/oauth Coordinates an OAuth authorization or redirect page. The worker is provided by mod_oauth2 and advertises model/oauth as a dependency capability. It…

Cotonic models

model/sessionId Cotonic

The sessionId model manages a browser identifier stored as JSON under cotonic-sid in localStorage. It is shared by pages on the same…

Cotonic

Change log Cotonic

1.9.0 — Sep 1, 2026 — Diff — Docs — Download

Cotonic models

model/dedup Cotonic

The dedup model implements message deduplication. It works by sending a message to the dedup model, the dedup model then relays the message to a…

Cotonic models

model/localStorage Cotonic

get/+key Gets item key from localStorage. Returns the content as payload.

Cotonic models

model/sessionStorage Cotonic

The sessionStorage model provides access to the sessionStorage of the browser. It makes it possible to set and retrieve values via mqtt…

Cotonic

Links Cotonic

Introduction to Incremental DOM

Cotonic models

model/document Cotonic

The document model can be used to retrieve details about the current document.

Cotonic

Models Cotonic

Because workers run as independent components it is not possible to directly call api's. Some api's are also not available to web workers. Models…

Cotonic models

model/lifecycle Cotonic

Application lifecycle is a key way that modern operating systems manage resources. On Android, iOS, and recent Windows versions, apps can be…

Cotonic

Worker functions Cotonic

Workers are stand alone processes. They have no shared data with the page, nor with other workers. Their memory and calling context is isolated.

Cotonic models

model/ui Cotonic

The ui model can be used to update the dom by publishing messages on one of the model/ui/# topics. Elements can be inserted, deleted and updated.

Cotonic

cotonic.ui Cotonic

The user interface composer manages html snippets which can be placed in the DOM tree. When an updated html snippet is delivered to the composer it…

Cotonic models

model/location Cotonic

The location model can be used to retrieve information on the current location of the page. It also allows subscription to location changes.

Cotonic

cotonic.tokenizer Cotonic

The tokenizer transforms text to html tokens. The tokenizer is used by the user interface composer in order to call the incremental-dom api.

Cotonic models

model/autofocus Cotonic

The autofocus model looks for elements with the autofocus attribute which are just added to the dom tree. When this happens, it auto focusus them.

Cotonic models

model/window Cotonic

The window model can be used open and close windows.

Cotonic models

model/serviceWorker Cotonic

The serviceWorker model makes it possible to communicate with other tabs from the same site. This makes it possible to communicate important state…

Cotonic

cotonic.broker Cotonic

The broker module handles all local publish subscribe connections. The subscriptions are stored in a trie datastructure allowing quick action. They…

Cotonic

Cotonic Cotonic

Cotonic is a Javascript library which makes it possible to split the javascript code of your page into truly isolated components. By…

Cotonic

cotonic.mqtt_bridge Cotonic

This module makes it possible to bridge the broker on the local page to an external MQTT broker.