Reference
Wrap external content in such a way that it is only loaded if the user consented to the inclusion of the content (and…
Module for copyright metadata, rights statements, and attribution helpers.
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…
Presents various tools for development.
Adds wysiwyg tinyMCE editors to the admin.
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…
This module supports relaying email between Zotonic servers.
This module tracks for all outgoing email addresses:
Provides a generic framework to export resources.
The mod_facebook module plugs into the authentication system to enable Facebook login on your site.
Support for storing uploaded and generated images and documents on external services.
Upload files using a parallel web worker.
Used to map IP addresses to geographical locations.
Non destructive edits of images.
Module which adds “import CSV” button to the admin status screen.
Import WordPress .wxr files in your site.
Localization of Zotonic. Provides lookups for country, month, week names. Localization module providing locale, country
The mod_linkedin module plugs into the authentication system to enable LinkedIn login on your site.
Logs messages to the database and adds log views to the admin.
This module implements a mailing list system. You can make as many mailing lists as you like and send any page to any…
When uploading a file, this module extracts properties from the uploaded media and sets them in the resource.
Create nested navigation menus for your site.
Adds logon using the Microsoft identity platform.
MQTT is a machine-to-machine (M2M)/“Internet of Things” connectivity protocol. It was designed as an extremely…
OAuth2 provider module for app/client/token management and authorization flows.
Makes media resources from embeddable URLs through the OEmbed protocol.
Implements rate limiting for various resources.
mod_search implements various ways of searching through the main resource table using m_search.
Adds basic search engine optimization to the base templates and provides an admin interface for configuring SEO options…
Creates a sitemap.xml file for your site, containing links to all publicly accessible pages.
Server side storage for the client (aka browser) and server.
This module presents an interface for letting users register themselves.
This module pulls updates of a site‘s code from a remote version control system. The supported version control systems…
The mod_ssl_ca module adds support for using SSL certificates bought from a Certificate Authority.
Request certificates from Let’s Encrypt.
Adds the concept of survey resources: user-definable forms which can be created in the admin interface and filled out…
Syslog integration module for forwarding Zotonic log events to external syslog services.
Simple (type,key)/value store. Stores data in the store with minimal latency and (local) serialization of get/put…
This module provides support for dealing with multiple languages.
Rescans all modules, to find all templates, lib files, dispatch rules, etc. again.
Access information about which modules are installed and which ones are active.
module_rescan module_toggle
Activate/deactivate a module in the module manager in the admin interface.
Adds support for viewing and handling video medium items.
This module, if activated, checks the pasted URLs in the create media / page dialog of the admin. It will show an embed…
Actions, tags (also known as screen components), and javascript for user interfaces using wires .
Site management module for creating, configuring, and controlling managed Zotonic sites.
Show more results of the current search query inline on the page.
Move an element to another place, appending it to the target. The element is given by id with the element argument, or…
A ticketing system for out of band MQTT posts via HTTP.
A validator to check whether a resource’s name is unique:
Tests if two dates are not equal.
Normalize an email address, used in the identity management.
alert confirm growl
See also
Fetch the nth tail of a list.
filesizeformat format_duration format_integer format_number format_price is_even is_number max min minmax rand round…
Numerical input and range check.
Model for OAuth2 app/client/token administration and user token listings.
Model for OAuth2 consumer configuration and token access, including consumer lists and per-consumer token retrieval.
Model for OAuth2 service flow helpers, including redirect URL generation and oauth redirect processing.
observe_acl_collab_groups_modify/3
Modify the list of collaboration groups of a user. Called internally by the ACL modules when fetching the list of…
observe_acl_context_authenticated/2
Set the context to a typical authenticated user. Used by m_acl.erl
Check if a user is authorized to perform an operation on a an object (some resource or module). Observe this…
Check if a user is authorizded to perform an action on a property. Defaults to true .
Check if a user is the owner of a resource. id is the resource id.
Clear the associated access policy for the context.
Initialize context with the access policy for the user.
Return the groups for the current user.
observe_acl_user_groups_modify/3
Modify the list of user groups of a user. Called internally by the ACL modules when fetching the list of user groups a…
Render the javascript for a custom action event type. The custom event type must be a tuple, for example: `{% wire…
An activity in Zotonic. When this is handled as a notification then return a list of patterns matching this activity.
Push a list of activities via a ‘channel’ (eg ‘email’) to a recipient. The activities are a list of
Used in the admin to fetch the possible blocks for display
Used for fetching the menu in the admin.
Used in the admin to process a submitted resource form
Notify after logon of user with username, communicates valid or invalid password
observe_auth_client_logon_user/2
Send a request to the client to login a user. The zotonic.auth.worker.js will
observe_auth_client_switch_user/2
Send a request to the client to switch users. The zotonic.auth.worker.js will
Confirm a user id.
A user id has been confirmed.
Return the list of identity types that allow somebody to logon and become an active user of the system. Defaults to […
User is about to log off. Modify (if needed) the logoff request context.
User logs on. Add user-related properties to the logon request context.
Update the given (accumulator) authentication options with the request options.
First for logon of user with username, called after successful password check.
First for logon of user with username, check for ratelimit, blocks etc.
First to check for password reset forms, return undefined, ok, or \{error, Reason\}.
First to validate a password. Return \{ok, RscId\} or \{error, Reason\}.
Authentication against some (external or internal) service was validated
observe_category_hierarchy_save/2
Save (and update) the complete category hierarchy
Notification to signal an inserted comment. ‘comment_id’ is the id of the inserted comment, ‘id’ is the id of the…
observe_content_security_header(Default, Acc, Context)
Check and possibly modify the http response security headers All headers are in lowercase.
observe_content_types_dispatch/3
Get available content types and their dispatch rules Example: \{\{<<”text”>>, <<”html”>>, [\]\}, page\} A special…
Set CORS headers on the HTTP response.
Add custom pivot fields to a resource’s search index (map) Result is a single tuple or list of tuples `{pivotname
Push some information to the debug page in the user-agent. Will be displayed with io_lib:format(“~p: ~p~n”, [What
Final try for dispatch, try to match the request. Called when the site is known, but no match is found for the path