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 clusterModel for dynamic template rendering. It renders a template path passed in the request path and returns the rendered template output.
Updates the content of an HTML element with a template or a literal HTML text.
Controller for transport of MQTT data between the browser (client) and server.
Render a validation error on the target. Text is given in the text argument.
Creates a temporary resource if its input value is not defined.
Modify the list of user groups of a user. Called internally by the ACL modules when fetching the list of user groups a user is member of.
Publish the site's RSA encryption public key as JavaScript.
Filters a list on the value of a property, either on absence or inequality.
Truncate a text to a maximum length.
Upload and replace the resource with the given data. The data is in the given format.
Escapes and formats a Javascript string with a stack trace to readable HTML.
Removes all HTML tags from the value.
Notification to signal an inserted comment. ‘comment_id’ is the id of the inserted comment, ‘id’ is the id of the resource commented on.
Handle a javascript notification from the postback handler. The message is the the request, trigger the id of the element which triggered the postback, and…
Return the first element before another element in a list. For example:
Show a date range.
See if there is a ‘still’ image preview of a media item. (eg posterframe of a movie) Return:: {ok, ResourceId} or undefined
Shows the admin backup screen where you can download nightly backups that were made by module#mod_backup.
Add extra javascript with the {% script %} tag. (map) Used to let modules inject extra javascript depending on the arguments of the {% script %} tag. Must…
Check if an input has been filled in or checked.
Simple controller for connection tests, used on the /test/connection page.
Model exposing TinyMCE editor version metadata used by admin/editor integration.
Replace $N placeholders in string from a list of replacement values.
Check if there is a ‘stop’ question in list of (survey) blocks
Normalize an email address, used in the identity management.
Show something if two values are not equal.
Map to signal merging two resources. Move any information from the loser to the winner. The loser will be deleted.
Used for fetching the menu in the admin.
Show an integer value.
Start a named Cotonic worker from a template.
Trigger the deletion of a configuration value. Used in the admin.
Shows the admin backup revisions screen where you can see older version for a resource.
Show embed, video or audio media.
Tests if a date is in the future.
Determine if any answer of a question was wrong. Used for showing results of thurstone test questions.
Removes whitespace between HTML tags.
Loads the given custom tags for use in the templates. Normally not needed, as custom tags are automatically loaded through the module system.
Fetch the url of a resource’s html representation
Add an AJAX activity indicator.
Cache frequently used rendered template output for later reuse.
Check if an entered username is unique by querying model#identity for the given username:
Similar to filter#group_firstchar, but always uses the title column from the rsc table.
The mod_linkedin module plugs into the authentication system to enable LinkedIn login on your site.
Add WYSIWYG editor controls to the textareas selected by the target. The active editor integration, such as TinyMCE, implements the actual controls; the action…
Returns the last character or element.
Remove an element from the page.
Toggle a configuration value. Used in the admin, for instance when displaying a “live” checkbox the state of which should reflect a config value.
Filter the contents of a block through variable filters.
Test if a value is a number (integer or floating point):
Check with useauth if the authentication using the Microsoft identity platform is enabled and configured.
Translates a string to a md5 hex value.
Adds an hour to a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Call all modules to include a certain template.
Translate a text value using gettext and substitute variables.
Translate a string to a sha1 hex value.
Remove a CSS class from an HTML element.
When uploading a file, this module extracts properties from the uploaded media and sets them in the resource.
Move the target element by appending it to another element.
Used on the mailing list subscriptions page where users and recipients can unsubscribe from mailinglists.
A module has been activated and started.
Serve an ACME HTTP-01 challenge for Let's Encrypt certificate issuance.
User is about to log off. Modify (if needed) the logoff request context.
Return the first element after another element in a list. For example:
Tracks the send/bounce/error status of all outgoing emails.
Return an empty HTTP 204 No Content response.
Provides periodic tick notifications and module-defined cron job scheduling.
Media update done notification. action is ‘insert’, ‘update’ or ‘delete’
Match a value with a regular expression.
Show a rsc as a HTML page.
Determine the URL fetch options for fetching the content of an URL. Used by z_fetch.erl.
Select an element from a tuple or list of tuples.
Sanitize a HTML code. Removes elements and attributes that might be dangerous, like <script> elements.
Adds support for viewing and handling audio medium items.
Request to send a verification to the user. Return ok or an error. Handled by mod_signup to send out verification emails. Identity may be undefined, or is an…
Filter a list of resource ids on category, or test if a single resource id belongs to a category.
Sanitize an HTML element.
Change the language of an URL to another language. Useful to generate alternative URLs for a page.
Adds editing of resources, menu-trees and collections for non-admin users.
Translates a datetime from local time to UTC.
Tests if two dates are not equal.
Return a translated, human-readable label for a MIME content type.
Model to start uploads, upload a block and delete uploads.
Joins the elements of a list. Joins the elements of the input list together, separated by the argument.
Removes a mask that was placed over an element using the action#mask action.
Shows the admin category screen where you can edit the category tree, rearranging the categories, adding new categories, or removing existing ones.
Show the current date and time.
Rewrite a URL before it will be dispatched using the z_sites_dispatcher
Delete a value from the typed key/value store
Request certificates from Let’s Encrypt.
Modify row with answers for export. The header columns are given and the values that are known are set in the folded value. The user_id is the user who filled…
Check if an entered e-mail address is unique by querying model#identity for the email key:
Send a request to the client to login a user. The zotonic.auth.worker.js will
Groups items of a list by a property.
Submits the enclosing form, a specifically targeted form or the closest form to an element.
Show possible selections whilst typing.
Rescans all modules, to find all templates, lib files, dispatch rules, etc. again.
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
Adds basic search engine optimization to the base templates and provides an admin interface for configuring SEO options and Google Universal Analytics.
Signup failed, give the error page URL. Return {ok, Url} or undefined. Reason is returned by the signup handler for the particular signup method (username
URL dispatch rules defined by mod_authentication in apps/zotonic_mod_authentication/priv/dispatch/dispatch.