Text
Browse by topic
Explore related documentation through its most useful keyword groups.
1438 items
Grouped by Architecture
A named transformation applied to a value inside a template expression.
Explore this clusterA typed event or request exchanged between decoupled Zotonic components through the notifier.
A namespaced interface for retrieving or changing data and invoking operations in Zotonic or browser-side components.
Explore this clusterAn OTP application or site component that adds Zotonic behavior templates data and configuration.
Explore this clusterA server-defined browser action or event binding connected through Zotonic wires.
Explore this clusterA server-side template_compiler document that renders data into HTML text email or another representation.
Explore this clusterA request handler that maps web requests to responses and coordinates authorization rendering or data transfer.
Explore this clusterA route declaration that matches a URL pattern and selects a controller with arguments.
Explore this clusterThe central Zotonic entity that represents content users media categories and other addressable objects.
Explore this clusterDocumentation not covered by the other keyword groups in this split.
Explore this clusterAdjust an image inserted in the body text.
Update a media item while keeping the item itself.
Add a new image to the media library.
Group pages into an ordered set.
Understand why available actions differ between editors.
Work with a group when your site supports group-based content.
Remove an image from one page or delete the shared item.
Read outgoing and incoming page connections.
Prepare the page that will become your email.
Find the menu that your website displays.
Check links to translated content.
Remove a navigation entry while keeping its page.
Keep a mailing list accurate.
Keep main, footer, and section navigation separate.
Check an email with a small, controlled test.
Create a navigation entry for an existing page.
Understand what is shared and what is translated.
Change the order and position of navigation entries.
Put connected pages or media in the intended sequence.
Add supported online media or a video file.
Resolve a rejected file upload.
Reuse an image instead of uploading a second copy.
Manage the languages of an individual page.
Add and review text in another language.
Place an image between or beside paragraphs.
Check available languages and translation completeness.
Link an article to an author, subject, or another page.
Describe what kind of content a page contains.
Choose the right tool for organizing a page.
Choose the audience for an email mailing.
Attach a lead image or other media used by the page layout.
Request that search engines leave a page out of their results.
Know where to find pages, editing controls, and settings.
Link readers to another page, website, or email address.
Choose between a new copy and a connection to existing content.
Change the kind of content without making a new page.
Find a page without creating a duplicate.
Change existing content and check the result.
Add structured sections when your site provides them.
Remove a page that is no longer needed.
Start a new page with the right category and language.
Create, check, and publish a simple page.
Leave a short note for other editors.
Check publication and access separately.
Make body text easy to scan and read.
Recognize the different kinds of content you can edit.
Put each part of your text in the right field.
Prepare a page to appear at a future time.
Recover an earlier saved version when revision history is available.
Choose the right way to remove content.
Check a saved page before visitors see it.
Make a page available or take it out of public view.
Understand the dates that control availability.
Record the code revision, build steps, configuration changes, and schema changes for the release. Build and test the same revision in an acceptance environment…
Render a static OpenStreetMap tile grid with a marker at a location.
Expose GeoMap configuration and country-map data to templates and model GET requests.
Calculate the great-circle distance between two locations in kilometers.
Add resource locations, map display, geocoding, and geographic searches to Zotonic. Enable mod_geomap on the site; it depends on mod_l10n .
This file defines the URL dispatch rules for mod_sso_openidc . Rules are matched from top to bottom; the first matching rule handles the request.
Expose OpenID Connect provider configuration and public provider choices to templates, and supply provider storage and logon lookup functions to Erlang.
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…
Provides automatic translation using a local Argos Translate Python worker as a translation service for Zotonic's mod_translation module.
Translate plain text and HTML with Argos Translate and manage its language packages through a shared local Python worker.
This file defines the URL dispatch rules for mod_translate_argos . Rules are matched from top to bottom; the first matching rule handles the request.
Translates lists of texts using the DeepL API and exposes whether an API key has been configured.
Provides automatic text translation through DeepL as a translation service for Zotonic's mod_translation module.
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
Count active filters in admin overview query arguments, for example to display the number of selected filters on the overview's Filter button.
Convert raw stored resource data to its current representation.
model/auth-ui Manages Zotonic's login, reminder, verification, reset, and password-change views. The standard _logon.tpl starts the worker and supplies the…
Zotonic Cotonic models These browser-side models extend Cotonic with Zotonic functionality. Each model has its own reference page:
model/auth Owns browser authentication state and communicates with /zotonic-auth . It checks and refreshes authentication, manages login/logout and password…
model/clipboard Copies text using the browser Clipboard API. Implemented in the wires script. Browser clipboard availability and permission rules still apply.
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.
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…
model/fileuploader Queues browser files and uploads them in chunks through mod_fileuploader . The _fileuploader_worker.tpl include starts the worker. It…
model/wires Connects Cotonic messages to named Zotonic events through the wires script.
model/console Writes structured messages to the browser console and answers diagnostic pings. Implemented in the wires script.
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.
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…
The sessionId model manages a browser identifier stored as JSON under cotonic-sid in localStorage. It is shared by pages on the same…
1.9.0 — Sep 1, 2026 — Diff — Docs — Download
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…
get/+key Gets item key from localStorage. Returns the content as payload.
The sessionStorage model provides access to the sessionStorage of the browser. It makes it possible to set and retrieve values via mqtt…
Introduction to Incremental DOM
The document model can be used to retrieve details about the current document.
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…
Application lifecycle is a key way that modern operating systems manage resources. On Android, iOS, and recent Windows versions, apps can be…
Workers are stand alone processes. They have no shared data with the page, nor with other workers. Their memory and calling context is isolated.
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.
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…
The location model can be used to retrieve information on the current location of the page. It also allows subscription to location changes.
The tokenizer transforms text to html tokens. The tokenizer is used by the user interface composer in order to call the incremental-dom api.
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.
The window model can be used open and close windows.
The serviceWorker model makes it possible to communicate with other tabs from the same site. This makes it possible to communicate important state…
The broker module handles all local publish subscribe connections. The subscriptions are stored in a trie datastructure allowing quick action. They…
Cotonic is a Javascript library which makes it possible to split the javascript code of your page into truly isolated components. By…
This module makes it possible to bridge the broker on the local page to an external MQTT broker.