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 clusterCall all modules to include a certain template.
Check the requested path and compare its binary segments with the model callback patterns. Confirm that the callback returns the unused path in the required…
Open module management for the correct site. Check whether the module is disabled, waiting for a dependency, or failing during startup.
Check that the module is an Erlang application in a discovered project directory. Confirm the application name, .app.src, main mod_... module, and successful…
Read Site Analytics reports, manage recordings and submit trusted server-side events.
A reusable module normally lives in apps_user/zotonic_mod_garden and contains:
A typical site contains the following directories. Create only the extension directories you actually need.
Add a $(..).animate jQuery call to the target element.
Check whether the resource has an original file and whether its media information describes that file correctly. Then inspect the preview request in the…
Measure one representative request and identify whether time is spent in the browser, network, or server. Compare an initial request with a repeated request to…
Appends the argument to the value.
Use distinct, consistent names so code and assets can be found without ambiguity.
OTP application startup concerns the application and its processes. Zotonic module activation concerns the feature within an individual site.
Convert a value to an Erlang atom.
Check each stage in order: the edited file, build output, loaded application, active module, selected template, and browser response.
Run bin/zotonic status to distinguish an unavailable node from a stopped or failing site. Inspect the relevant startup log before repeatedly restarting it.
Run bin/zotonic status to distinguish an unavailable node from a stopped or failing site. Inspect the relevant startup log before repeatedly restarting it.
Add membership after creation with explicit permissions.
Give an account the permissions required for its work.
Confirm the hostname, site, and path from the actual request. Use the dispatch trace to see the selected rule and any rewritten path.
Model for two-factor authentication state and setup, including TOTP QR/image generation, mode checks, reset checks, and clock skew checks.
Disconnect an external authentication identity from a resource.
Model for authentication state and login support checks, including password authentication flow helpers and reminder/verification actions.
Automatically apply HTML escaping to values.
Zotonic's file handler watches source changes when a supported watcher is available. Erlang, templates, dispatch files, and assets have different handlers.
Model for backup configuration and operational status, including backup permissions, listing, directory, encryption settings, and active backup state.
For a site with backup support enabled:
List, create, or restore backups.
Model for resource revision backup metadata, including revision list/title retrieval and revision retention settings.
Action which starts a manual backup.
Return the first element before another element in a list. For example:
Define a template block and overrules a template block from an inherited template.
Translate HTML <br/> elements into ASCII newlines ( \n ).
Keep source files such as SCSS in priv/lib-src and compiled assets in priv/lib. Use an app-level Makefile that delegates asset work to the source directory's…
Keep source files such as SCSS in priv/lib-src and compiled assets in priv/lib. Use an app-level Makefile that delegates asset work to the source directory's…
Compile Zotonic, start it, check the status page, and continue to your first site.
Makes a button with an action attached.
Add button interaction classes to an element.
Cache frequently used rendered template output for later reuse.
First measure the work performed by the fragment. Cache a fragment only when you know which inputs and data changes affect its output.
Start with a narrow VCL 4 policy and preserve authenticated responses.
Site-local content-addressable file storage (CAFS) for originals, explicit previews such as video posters, and generated image variants. Identical bytes share…
Call an Erlang function.
Converts the first character of the value to uppercase.
Compose another template based on the category of a resource.
This model can retrieve information about the resource category hierarchy in different ways.
Include another template based on the category of a resource. The include tag is replaced with the contents of the included template file. You can give…
Centers the value in a field of a certain width using spaces.
Use bin/zotonic setconfig only for a global setting that supports a runtime change. The command changes the running configuration and does not save the value…
Make a small visible change before building a larger feature.
1.9.0 — Sep 1, 2026 — Diff — Docs — Download
Choose the right configuration layer and verify the effective value.
Protect the meaning of existing responses when a form changes.
Understand slugs and paths before changing an address.
Change the kind of content without making a new page.
Put connected pages or media in the intended sequence.
Render a chart without JavaScript, CSS, external services, or external assets.
Render a donut chart as inline SVG.
Render a pie chart as inline SVG.
Deprecated compatibility alias for scomp#chart_pie.
Render the changed page with realistic content. Include missing optional fields, a long title, several list items, and a second language when applicable.
See what happened after a mailing was started.
Verify host, role, database, and schema before restarting a site.
Open Cross-reference check of templates in the Development page and run the check. Read each reported reference with the active module set in mind.
Monitor the user-facing service as well as its processes.
Return a fixed local destination from the current signup notification.
Start with the symptom and use the smallest tool that explains it.
Choose a model, controller, observer, or component.
Choose checks for a change.
Choose checks for a change.
Use the right management surface and account.
Describe what kind of content a page contains.
Set repeat submissions, saved progress, limits, and the final screen.
Open a site in Chrome.
Open a site in Chromium.
This filter splits a list in shorter lists. It splits an array in sub-arrays of at most a given length. This is useful when displaying a list of items in…
Reports whether the ClamAV daemon ( clamd ) is available. The m.clamav.is_available model path sends a ping and returns true when the daemon responds with PONG…
Model to access the localStorage on the client (browser).
Model to access the sessionStorage on the client (browser).
Work with a group when your site supports group-based content.
Look up the syntax, requirements, and effects of each bundled command.
Model for comments attached to resources. It provides listing, moderation checks, counting, and retrieval of individual comments.
Ignore part of a template.
Use make for the normal project build. On a running development node, the CLI also provides focused operations:
Recompile one Erlang source file.
Request recompilation on the running node.
Use shell completion without relying on a particular startup mode.
Compose another template and override its named blocks.
Zotonic has two places where a site's configuration is kept:
Trigger the deletion of a configuration value. Used in the admin.
Display configuration resolved from files.
List selected global configuration files.
Check whether global configuration files can be read.
Toggle a configuration value. Used in the admin, for instance when displaying a “live” checkbox the state of which should reflect a config value.
Global configuration Site configuration Port configurations
Keep original uploads accessible across deployments and restarts.
Align DNS, site selection, and certificate termination.
Align DNS, site selection, and certificate termination.
Check media-process isolation and decide whether to run conversions on a separate service.
Set a relay at the correct scope and test a real site message.