Text
Browse by topic
Explore related documentation through its most useful keyword groups.
1022 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.
Explore this clusterA server-defined browser action or event binding connected through Zotonic wires.
Explore this clusterAn OTP application or site component that adds Zotonic behavior templates data and configuration.
Explore this clusterA namespaced interface for retrieving or changing data from Erlang templates MQTT or APIs.
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 clusterOpen a dialog to confirm the deletion of the username of a user.
This module supports relaying email between Zotonic servers.
Hide an element by animating the height and opacity.
Justifies the value in a field of a certain width to the right, using spaces.
Cancel a mailing list subscription. The recipient id is given with the id argument.
Convert any URLs in a plaintext into HTML links, with adding the rel="nofollow" attribute, and replaces all newlines with <br> tags.
Filter to split multi-value survey answers on the '#' character.
This module adds rule-based access control.
Confirm a mailinglist subscription. Required argument is the confirm_key .
Exchange OAuth 2.0 credentials for a bearer access token.
Returns a list of tokens from input string, separated by the characters in the filter argument.
Sets the progress bar of an action#mask.
Find urls in the given input and make them clickable.
Adds support for viewing and handling video medium items.
URL dispatch rules defined by mod_admin_identity in apps/zotonic_mod_admin_identity/priv/dispatch/admin_dispatch.
Model for ACL rule inspection and helper checks in mod_acl_user_groups, including insert/move checks, upload limits, mime checks, and ACL state lookups.
Add an editorial note to any resource.
An updated resource is about to be persisted. Observe this notification to change the resource properties before they are persisted.
Hide an element by animating the height.
Generate the url of a still image.
Makes media resources from embeddable URLs through the OEmbed protocol.
Start an OAuth login with an external identity provider.
Fetch the menu id belonging to a certain resource
Module which adds “import CSV” button to the admin status screen.
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…
Return the groups for the current user.
Tests if a value is undefined.
This module, if activated, checks the pasted URLs in the create media / page dialog of the admin. It will show an embed option for Youtube and Vimeo URLs. It…
OAuth2 provider module for app/client/token management and authorization flows.
URL dispatch rules defined by mod_admin in apps/zotonic_mod_admin/priv/dispatch/dispatch.
Take the maximum of the filter value and its first argument.
This controller shows the mailing status of a resource. It lists each mailing list available in the system, and shows whether or not the current resource has…
Send a request to the client to switch users. The zotonic.auth.worker.js will
Shows the list of Zotonic modules currently known to the system.
Set the context to a typical authenticated user. Used by m_acl.erl
Logs messages to the database and adds log views to the admin.
Import WordPress .wxr files in your site.
Closes a dialog. When there is no dialog open then nothing happens.
Provides identity management in the admin - for example the storage of usernames and passwords.
Adds a week to a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Note
Check for logon options, called if logon_submit returns undefined. This is used to fetch external (or local) authentication links for a username. Return:: map()
Show a dialog for adding a user. This creates a person resource and adds a username / password to it.
Model to track resources imported from CSV and XLSX files.
Trigger various jQuery effects on the target element. Mostly, each of these effects have their own action as a shortcut, for example action#show, action#hide.
Site management module for creating, configuring, and controlling managed Zotonic sites.
URL dispatch rules defined by mod_zotonic_site_management in apps/zotonic_mod_zotonic_site_management/priv/dispatch/dispatch.
HTML escapes a text.
This module contains many useful icons and images.
Used after a media item is selected in the media chooser for the TinyMCE editor.
The m_translation model gives easy access to language and translation related information.
mod_export - fetch a row for the export, can return a list of rows, a binary, and optionally a continuation state. Where Values is [ term() ], i.e. a list of…
Admin module exposing site statistics views and related dashboard metrics.
Model for two-factor authentication state and setup, including TOTP QR/image generation, mode checks, reset checks, and clock skew checks.
Return the options for the DKIM signature on outgoing emails. Called during email encoding.
Run a jQuery UI effect on the target element.
Set the class of an element.
Performs a custom server side validation of an input value. This allows you to add your own validation logic to HTML form fields.
Create nested navigation menus for your site.
Action which starts a manual backup.
Include another template. The include tag is replaced with the contents of the included template file. You can give arguments to the included template, they…
Translate a text value using gettext.
Generate the URL for a named dispatch rule. In this way it is possible to automatically change the generated URLs when the dispatch rules are modified.
URL dispatch rules defined by mod_fileuploader in apps/zotonic_mod_fileuploader/priv/dispatch/dispatch.
Fetch media ids that are embedded in the body , body_extra and text blocks of your page.
mod_export - Fetch the header for the export.
An external feed delivered a resource. First handler can import it. Return:: {ok, m_rsc:resource_id()} , {error, Reason} , or undefined
Render the current dispatch path_info values as a URL query string.
URL dispatch rules defined by mod_acl_user_groups in apps/zotonic_mod_acl_user_groups/priv/dispatch/dispatch.
Translate HTML <br/> elements into ASCII newlines ( \n ).
Model for admin configuration views, including SSL certificate info, security directory info, and selected module config values.
These variables are always available for rendering in templates.
Check if a user is authorized to perform an operation on a an object (some resource or module). Observe this notification to do complex or more fine-grained…
Add an edge between two resources. Used in the admin.
Toggle a CSS class from an HTML element.
Connect actions and events to a HTML element.
Generate a list of integers, with an optional step.
Adds survey resources: user-defined forms that can be created in the admin interface and filled in by site visitors. The module renders multi-page forms
Translates a (English) value to the current language or the given language.
Notification that a medium file has been uploaded. This is the moment to change properties, modify the file etc. The folded accumulator is the map with updated…
Redirect to the controller controller_file.
Implements a basic contact form, which gets emailed to the configuration value mod_contact.email , when submitted. Contact form module handling form submission
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_import_csv in apps/zotonic_mod_import_csv/priv/dispatch/dispatch.
Add a $(..).focus() jQuery call to the target element to give it input focus.
Get available content types and their dispatch rules Example: {{<<”text”>>, <<”html”>>, []}, page} A special dispatch rule is ‘page_url’, which refers to the…
Controller which sets the language as given in the code argument, and redirects the user back to the page given in the p argument.
Find an import definition for a CSV file by checking the filename of the to be imported file.
Force the given value in the given range.
Show a page menu.
Notify after logon of user with username, communicates valid or invalid password
First to check for password reset forms, return undefined, ok, or {error, Reason}.
Compare two resources and return a formatted list of their differences.
Open a dialog to duplicate the current resource with a new id and title.
A sorter is a container for sortables.
Call an Erlang function.
Take the minimum of the filter value and its first argument.
mod_export - Determine the mime type for the export.
Download the site's access-control rules as a compressed Erlang term.
Hide an element by animating the opacity.