Text
Browse by topic
Explore related documentation through its most useful keyword groups.
1342 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 server-defined browser action or event binding connected through Zotonic wires.
Explore this clusterA 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-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 clusterSignup failed, give the error page URL. Return {ok, Url} or undefined. Reason is returned by the signup handler for the particular signup method (username
Show possible selections whilst typing.
Submits the enclosing form, a specifically targeted form or the closest form to an element.
URL dispatch rules defined by mod_authentication in apps/zotonic_mod_authentication/priv/dispatch/dispatch.
URL dispatch rules defined by mod_filestore in apps/zotonic_mod_filestore/priv/dispatch/dispatch.
Show a readable version of a date/time difference.
Rescans all modules, to find all templates, lib files, dispatch rules, etc. again.
Notification sent to a site when e-mail for that site is received
Trigger a named {% wire %} event in the browser. The required name argument identifies the wire; every other action argument is passed to the named event.
Sanitize an embed url. The hostpart is of the format: <<"youtube.com/v...">> .
Shows the dialog to mail the current page ( resource) to a single e-mail address. This is used in the frontend of a site to “share” the current page over e
This module presents an interface for letting users register themselves.
Prepare the items and options of a survey matching question for rendering.
This section describes the location and contents of Zotonic’s global configuration files erlang.config and zotonic.config . There’s also site-specific…
Mark a html element as draggable.
Notify that the session’s language has been changed
Adds a year to a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Save (and update) the complete category hierarchy
Check if the questions end with a question type that is a submit button.
Convert the image markers in HTML from the Rich Text editor into image tags.
This module provides support for dealing with multiple languages.
Returns a random value from a list of values. When the input is an empty list or not a list then the result is undefined.
Pretty print a zotonic value in a template.
Used for inserting an internal link in the TinyMCE editor in the admin.
URL dispatch rules defined by mod_admin_frontend in apps/zotonic_mod_admin_frontend/priv/dispatch/dispatch.
Resets the enclosing form, a specifically targeted form or the closest form to an element.
Set the language of the context to a user’s prefered language
Handle different content representations of a page.
An edge has been deleted Note that the Context for this notification does not have the user who deleted the edge.
DomainKeys Identified Mail Signatures (RFC 6376) is a method to add a signature to outgoing emails. This enables recipients to check who sent an email and if…
Module for content group support and ACL-aware content group behavior.
The sort filter takes a list of items to sort. Items can be an ordinary list of terms, property lists, or maps. It can also be a list of resource ids to be…
Not implemented, but exists in Zotonic for forward compatibility with future ErlyDTL and Django versions.
Add a $(..).animate jQuery call to the target element.
Modify the list of collaboration groups of a user. Called internally by the ACL modules when fetching the list of collaboration groups a user is member of.
Convert the input to an integer value.
Check if the content of the input field is an e-mail address.
Ignore part of a template.
Automatically apply HTML escaping to values.
Calculate the gravatar code for an e-mail address:
Modify the options for an image preview url or tag. This is called for every image url generation, except if the ‘original’ image option is passed. The…
A ticketing system for out of band MQTT posts via HTTP.
Subtracts a week from a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Exported APIs:
mod_backup serves two different purposes: it makes a nightly backup of your files and database, and can also backup/restore individual resource items.
Model for mailinglist operations and reporting, including recipient counts, delivery stats, subscriptions, and scheduled mailings.
Add a handler for receiving e-mail notifications
Tests whether a value is undefined, returning the given argument.
Send a notification that the resource ‘id’ is added to the query query_id.
This action logs off the current user and reloads the current page as the anonymous visitor.
Render a template. When used in a postback action, the result will be sent back with the response data for the postback.
mod_export - Encode a single data element.
Replaces ampersands in the value with “&” entities.
mod_search implements various ways of searching through the main resource table using model#search.
Look up the syntax, requirements, and effects of each bundled command.
Send a page to a mailinglist (notify) Use {single_test_address, Email} when sending to a specific e-mail address.
Open a dialog to edit a configuration key/value pair.
Stream an export that is not tied to one resource.
Split the page blocks into pages, prepare them for easy display in the survey question editor.
Inserts HTML after the contents of an HTML element.
Check if an input value evaluates to true.
Rewrite a URL after it has been generated using the z_dispatcher
Mocking module for access control during tests.
Render a pie chart as inline SVG.
Action An action is functionality that can be attached to a HTML element or event. Actions are wired to an element or event. Think of showing dialogs, posting…
A survey has been filled in and submitted.
Final try for dispatch, try to match the request. Called when the site is known, but no match is found for the path
This controller does a redirect to the website property of the given resource.
Shows a form with settings related to Search Engine Optimization.
Check the required tools and install optional media tools when you need them.
Welcome to Zotonic 0.77.0, released on May 25, 2023.
Welcome to Zotonic 0.76.0, released on April 4, 2023.
Welcome to Zotonic 0.75.0, released on March 2, 2023.
Model to access the server side storage of data.
URL dispatch rules defined by mod_custom_redirect in apps/zotonic_mod_custom_redirect/priv/dispatch/dispatch.
An updated resource has just been persisted. Observe this notification to execute follow-up actions for a resource update.
Inserts HTML before the contents of an HTML element.
Serve a static page or pages.
Try to identify a file, returning a map with file properties.
Model for exposing current ratelimit timeout information for the active request context.
Subtracts an hour from a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Global configuration Site configuration Port configurations
URL dispatch rules defined by mod_export in apps/zotonic_mod_export/priv/dispatch/dispatch_export.
Show a dialog for setting a username / password on the given resource (which is usually a person).
Fetch the data for an import of a resource. Returns data in the format used by m_rsc_export and m_rsc_import. Either returns the JSON data, the imported…
Handle a new file received in the ‘files/dropbox’ folder of a site. Unhandled files are deleted after an hour. If the handler returns ‘ok’ then the file is…
The validator tag accepts the following arguments:
Appends the argument to the value.
URL dispatch rules defined by mod_backup in apps/zotonic_mod_backup/priv/dispatch/backup.
Adds a month to a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Drop an e-mail handler for a user/resource id. (notify). The notification, user and resource should be the same as when the handler was registered.
Tests if a value is defined.
Simple controller that always serves the string Hello, World!
Show the admin dialog for creating a new resource.
Used to map IP addresses to geographical locations.
Add a handler for receiving e-mail notifications
URL dispatch rules defined by mod_survey in apps/zotonic_mod_survey/priv/dispatch/survey.
URL dispatch rules defined by mod_microsoft in apps/zotonic_mod_microsoft/priv/dispatch/dispatch.
Shows an admin screen with an overview of most recently created comments. The screen offers the option to moderate the comments or delete them entirely.
Extract a summary from a resource.