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 clusterInclude 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…
Check if the current user is allowed to download a survey.
The main resource model, which is the central part of the Zotonic data model. This model provides an interface to all resource ("page") information. It also…
Show a dialog for creating a new predicate.
URL dispatch rules defined by mod_admin_merge in apps/zotonic_mod_admin_merge/priv/dispatch/dispatch.
Model for content-group checks, currently exposing whether a content group is in use.
Model for comments attached to resources. It provides listing, moderation checks, counting, and retrieval of individual comments.
Add a handler for receiving e-mail notifications
URL dispatch rules defined by mod_seo_sitemap in apps/zotonic_mod_seo_sitemap/priv/dispatch/dispatch.
URL dispatch rules defined by mod_base in apps/zotonic_mod_base/priv/dispatch/dispatch-test.
Round a floating point value to the nearest integer.
Push some information to the debug page in the user-agent. Will be displayed with io_lib:format(“~p: p n”, [What, Arg]), be careful with escaping information!
URL dispatch rules defined by mod_ssl_letsencrypt in apps/zotonic_mod_ssl_letsencrypt/priv/dispatch/dispatch.
Filter out media ids that are embedded in the body , body_extra and text blocks of your page.
Mark an element as valid drag destination.
Model for Facebook integration helpers, including auth-use flag, profile picture fetch, and Graph API proxy calls.
This model exposes some meta-information for the use in mod_admin templates.
Converts a text into a slug.
Include the markup of an extended template into the extending template.
URL dispatch rules defined by mod_admin_modules in apps/zotonic_mod_admin_modules/priv/dispatch/dispatch_module_admin.
Try to find a filename extension for a mime type (example: <<".jpg">> )
Port configurations can be tricky, especially in combination with SSL. Here we explain all steps to come to a correctly configured installation with working…
This controller is used as a jumping stone after a log on from the /logon page. The p argument is passed from the /logon page.
URL dispatch rules defined by mod_linkedin in apps/zotonic_mod_linkedin/priv/dispatch/dispatch.
Broadcast some file changed, used for livereload by mod_development
Controller which downloads the given mailinglist id as a CSV file.
Controller to log UI errors and events.
Add button interaction classes to an element.
Used by the survey module to add extra column values to the result editor.
An activity in Zotonic. When this is handled as a notification then return a list of patterns matching this activity. These patterns are then used to find…
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.
Access to data about uploaded files and other media.
Parses an URL (URI) using uri_string:parse/1 .
Check and possibly modify the http response security headers All headers are in lowercase.
Perform array-slice operations on a list or string.
Show an element by animating the height and opacity.
Return the site's current Let's Encrypt reachability token as plain text.
Delete the username from a user, no confirmation.
Render a JS-aided inplace textbox.
A user id has been confirmed.
Display any value as in JSON (JavaScript Object Notation).
Publishes a message on the topic tree of the current page.
Foldr for a resource insert, these are the initial properties and will overrule the properties in the insert request. Use with care. The props are the…
Escapes the value for safe insertion into JSON strings.
Render the administration dashboard for live Zotonic system statistics.
Refresh the context or request process for the given request or action
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).
Generates an absolute URL for the given dispatch information.
Open a dialog that asks confirmation to delete a configuration key/value pair.
Show an element by animating the opacity.
Open a dialog to create a new configuration key/value pair.
Converts the first character of the value to uppercase.
URL dispatch rules defined by mod_logging in apps/zotonic_mod_logging/priv/dispatch/dispatch.
MQTT is a machine-to-machine (M2M)/“Internet of Things” connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging…
Notification to translate or map a file after upload, before insertion into the database Used in mod_video to queue movies for conversion to mp4. You can set…
Map a custom search term to a #search_sql_term{} record.
Show an element without any animation.
Model for backup configuration and operational status, including backup permissions, listing, directory, encryption settings, and active backup state.
URL dispatch rules defined by mod_development in apps/zotonic_mod_development/priv/dispatch/tests.
Model for custom redirect records, exposing redirect list and individual redirect lookup by id.
First for logon of user with username, called after successful password check.
Resets the target form to its initial state.
Pickle an Erlang value so that it can be safely submitted with a form.
Reload the current page.
Fold over the resource props map to extend/remove data to be pivoted
Test whether a value has valid email-address syntax.
Resource is read, opportunity to add computed fields Used in a foldr with the read properties as accumulator.
This chapter describes the configuration options for your sites. There’s also global configuration.
Takes a menu, or a menu resource id, and adds all haspart objects connected to the menu ids.
Localization of Zotonic. Provides lookups for country, month, week names. Localization module providing locale, country, and timezone data and related helpers.
Combine css and javascript includes in a single request.
First to validate a password. Return {ok, RscId} or {error, Reason}.
Request the SSL certificates for this site. The server_name property contains the hostname used by the client. (first) Returns either ‘undefined’ or a list of…
Show something if two values are equal.
Fetch list of handlers for survey submits.
Determine if any answer of a question was correct. Used for showing results of thurstone test questions.
Post a message to the test mailing list, given with the id argument.
Regular expression test.
URL dispatch rules defined by mod_auth2fa in apps/zotonic_mod_auth2fa/priv/dispatch/dispatch.
First for logon of user with username, check for ratelimit, blocks etc.
Creates a sitemap.xml file for your site, containing links to all publicly accessible pages.
The m_search model provides access to different kinds of search queries for searching through models.
Check if an email address is blocked
Actions, tags (also known as screen components), and javascript for user interfaces using wires .
All the nitty gritty details when the big picture has settled.
Convert a value to an Erlang atom.
Truncate a HTML text to a maximum length.
mod_export - return the {ok, Disposition} for the content disposition.
This filter split a list in shorter lists. It splits an array in N sub-arrays of more or less equal length. This is useful when displaying a list of items in…
Model for runtime logging state and access to server log entries for clients allowed to read logs.
Provide an alternative value in case a value has a falsy value (0, false , undefined or empty string).
Used in the admin to process a submitted resource form
Finds a value in a list.
Round a number value to a number of significant digits. The significance defaults to two digits.
Signal that a user has been confirmed. (map, result is ignored)
A validator to check whether a resource’s name is unique:
Check the length of a text input.
URL dispatch rules defined by mod_contact in apps/zotonic_mod_contact/priv/dispatch/dispatch.
Parse a survey narrative question into renderable text and input parts.