Documentation
Browse by topic
Explore related documentation through its most useful keyword groups.
1435 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 clusterFlattens the rsc menu structure for use in a template loop.
Returns all resource ids in a menu. Could return invisible and non existing resource ids. The returned ids are a flat list, the hierarchy of the menu is lost.
Filters a list of menu items on visibility and existance. Only top-level menu items that are both visible and exist are kept in the list. Note that sub-menus…
Return the menu to be displayed with a resource.
Choose navigation or an ordered group of content.
Get the subtree of an id in a menu (if any).
Return a breadcrumb navigation trail for the given id.
A mail-merge like filter where tag-expressions in a text are replaced with the value of their evaluation.
Read currency rates and convert amounts using the site's mod_exchange_rates server. Rates express currency units per USD and may be retained from earlier…
Expose GeoMap configuration and country-map data to templates and model GET requests.
Check with useauth if the authentication using the Microsoft identity platform is enabled and configured.
Take the minimum of the filter value and its first argument.
Force the given value in the given range.
Understand why a page may show text in another language.
Share protected pages, images and feeds using signed URLs with the signing user's view permissions. Recipients do not need to log in as that user. Typical uses…
Mocking module for access control during tests.
This module adds rule-based access control.
URL dispatch rules defined by mod_acl_user_groups in apps/zotonic_mod_acl_user_groups/priv/dispatch/dispatch.
Admin backend module that wires the core admin interface, assets, and admin-specific event handling.
Note
URL dispatch rules defined by mod_admin_category in apps/zotonic_mod_admin_category/priv/dispatch/dispatch.
Add support for editing the site’s configuration values, as accessed through model#config.
URL dispatch rules defined by mod_admin_config in apps/zotonic_mod_admin_config/priv/dispatch/dispatch.
URL dispatch rules defined by mod_admin in apps/zotonic_mod_admin/priv/dispatch/dispatch.
Adds editing of resources, menu-trees and collections for non-admin users.
URL dispatch rules defined by mod_admin_frontend in apps/zotonic_mod_admin_frontend/priv/dispatch/dispatch.
Provides identity management in the admin - for example the storage of usernames and passwords.
URL dispatch rules defined by mod_admin_identity in apps/zotonic_mod_admin_identity/priv/dispatch/admin_dispatch.
Add keyword analysis tools to the Zotonic administration interface.
URL dispatch rules defined by mod_admin_keyword in apps/zotonic_mod_admin_keyword/priv/dispatch/dispatch.
Adds functionality to merge two pages together into a single page.
URL dispatch rules defined by mod_admin_merge in apps/zotonic_mod_admin_merge/priv/dispatch/dispatch.
Adds support in the admin for activating and deactivating modules.
URL dispatch rules defined by mod_admin_modules in apps/zotonic_mod_admin_modules/priv/dispatch/dispatch_module_admin.
Add support for editing predicates in the admin, by presenting a list of all defined predicates on http://yoursite.com/admin/predicate .
URL dispatch rules defined by mod_admin_predicate in apps/zotonic_mod_admin_predicate/priv/dispatch/dispatch.
Admin module exposing site statistics views and related dashboard metrics.
URL dispatch rules defined by mod_admin_statistics in apps/zotonic_mod_admin_statistics/priv/dispatch/dispatch.
Advertise bounded anonymous reads and existing resource export through /llms.txt , /.well-known/api-catalog , /openapi.json and /api-help .
URL dispatch rules defined by mod_agent_discovery in apps/zotonic_mod_agent_discovery/priv/dispatch/dispatch.
Site Analytics measures site traffic, popular content, outgoing email activity and module-defined events without an external tracker. It helps operators…
URL dispatch rules defined by mod_analytics in apps/zotonic_mod_analytics/priv/dispatch/dispatch.
This module contains many useful icons and images.
Adds support for viewing and handling audio medium items.
Two-factor authentication module adding TOTP setup, verification flows, and related auth checks.
URL dispatch rules defined by mod_auth2fa in apps/zotonic_mod_auth2fa/priv/dispatch/dispatch.
This module contains the main Zotonic authentication mechanism. It contains the logon and logoff controllers, and implements the various hooks as described in…
URL dispatch rules defined by mod_authentication in apps/zotonic_mod_authentication/priv/dispatch/dispatch.
mod_backup serves two different purposes: it makes a nightly backup of your files and database, and can also backup/restore individual resource items.
URL dispatch rules defined by mod_backup in apps/zotonic_mod_backup/priv/dispatch/backup.
mod_base is the base module, which acts as a container module holding most of Zotonic basic dispatch rules, Actions and Module tags.
URL dispatch rules defined by mod_base in apps/zotonic_mod_base/priv/dispatch/dispatch.
URL dispatch rules defined by mod_base in apps/zotonic_mod_base/priv/dispatch/dispatch-cotonic.
URL dispatch rules defined by mod_base in apps/zotonic_mod_base/priv/dispatch/dispatch-test.
Adds support for the Bootstrap CSS / JavaScript framework.
Uses clamd to scan all uploaded files for viruses.
Implements a basic commenting system, enabling commenting on resources.
URL dispatch rules defined by mod_comment in apps/zotonic_mod_comment/priv/dispatch/dispatch.
Implements a basic contact form, which gets emailed to the configuration value mod_contact.email , when submitted. Contact form module handling form submission
URL dispatch rules defined by mod_contact in apps/zotonic_mod_contact/priv/dispatch/dispatch.
Module for content group support and ACL-aware content group behavior.
Wrap external content in such a way that it is only loaded if the user consented to the inclusion of the content (and subsequent cookies).
Module for copyright metadata, rights statements, attribution, and source provenance.
Provides periodic tick notifications and module-defined cron job scheduling.
Enables redirects from unknown hosts and paths to other locations. The other location can be a known path or another web site.
URL dispatch rules defined by mod_custom_redirect in apps/zotonic_mod_custom_redirect/priv/dispatch/dispatch.
Inspect and debug running Zotonic sites. Enable this module to add System > Development to the admin, with template and dispatch inspection, tracing, source
URL dispatch rules defined by mod_development in apps/zotonic_mod_development/priv/dispatch/development.
URL dispatch rules defined by mod_development in apps/zotonic_mod_development/priv/dispatch/tests.
Adds wysiwyg tinyMCE editors to the admin.
Adds a rich-text editor based on Tiptap and ProseMirror to Zotonic forms. It provides headings, emphasis, lists, links, Zotonic media, tables, undo/redo, and…
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/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/auth Owns browser authentication state and communicates with /zotonic-auth . It checks and refreshes authentication, manages login/logout and password…
model/auth-ui Manages Zotonic's login, reminder, verification, reset, and password-change views. The standard _logon.tpl starts the worker and supplies the…
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.
model/clipboard Copies text using the browser Clipboard API. Implemented in the wires script. Browser clipboard availability and permission rules still apply.
model/console Writes structured messages to the browser console and answers diagnostic pings. Implemented in the wires script.
Use a category to describe what a resource is, such as an article or event. Use a predicate to describe a relationship between two resources, such as an author…
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…
The document model can be used to retrieve details about the current document.
model/fileuploader Queues browser files and uploads them in chunks through mod_fileuploader . The _fileuploader_worker.tpl include starts the worker. It…
Application lifecycle is a key way that modern operating systems manage resources. On Android, iOS, and recent Windows versions, apps can be…
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.
get/+key Gets item key from localStorage. Returns the content as payload.
The location model can be used to retrieve information on the current location of the page. It also allows subscription to location changes.
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…
model/password Toggles password visibility in the browser. Implemented in the wires script, loaded by the standard Zotonic JavaScript includes. It works with…
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…
The serviceWorker model makes it possible to communicate with other tabs from the same site. This makes it possible to communicate important state…
The sessionId model manages a browser identifier stored as JSON under cotonic-sid in localStorage. It is shared by pages on the same…
The sessionStorage model provides access to the sessionStorage of the browser. It makes it possible to set and retrieve values via mqtt…
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 window model can be used open and close windows.
model/wires Connects Cotonic messages to named Zotonic events through the wires script.
Signs outgoing e-mails with DomainKeys Identified Mail Signatures ( RFC 6376).
Enables the Zotonic site to receive emails for the site’s users. The user’s email address is username@hostname, where the hostname is the hostname as…
This module supports relaying email between Zotonic servers.
This module tracks for all outgoing email addresses:
Fetch currency exchange rates from the ECB daily XML feed and expose them through m_exchange_rates , the exchange_rates template filter and Erlang functions.