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 clusterFetch the page a user is redirected to after signing up with a confirmed identity
Ensures thant an HTML escaped value is properly escaped.
Render a validation error on the target. Text is given in the text argument.
Authorization checks to perform, in addition to the acl_action dispatch option, can be given in the acl dispatch option, and accepts the following options:
Removes all HTML tags from the value.
Replace $N placeholders in string from a list of replacement values.
Creates a temporary resource if its input value is not defined.
Add extra javascript with the {% script %} tag. (map) Used to let modules inject extra javascript depending on the arguments of the {% script %} tag. Must…
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.
Filters a list on the value of a property, either on absence or inequality.
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
Normalize an email address, used in the identity management.
Model exposing TinyMCE editor version metadata used by admin/editor integration.
Return the first element before another element in a list. For example:
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…
Truncate a text to a maximum length.
Check if there is a ‘stop’ question in list of (survey) blocks
Upload and replace the resource with the given data. The data is in the given format.
Shows the admin backup screen where you can download nightly backups that were made by module#mod_backup.
Escapes and formats a Javascript string with a stack trace to readable HTML.
Publish the site's RSA encryption public key as JavaScript.
Check if an input has been filled in or checked.
Simple controller for connection tests, used on the /test/connection page.
Show embed, video or audio media.
Show an integer value.
Loads the given custom tags for use in the templates. Normally not needed, as custom tags are automatically loaded through the module system.
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.
Map to signal merging two resources. Move any information from the loser to the winner. The loser will be deleted.
Cache frequently used rendered template output for later reuse.
Add WYSIWYG editor controls to the textareas selected by the target. The active editor integration, such as TinyMCE, implements the actual controls; the action…
Similar to filter#group_firstchar, but always uses the title column from the rsc table.
Show something if two values are not equal.
Fetch the url of a resource’s html representation
Add an AJAX activity indicator.
Check if an entered username is unique by querying model#identity for the given username:
Tests if a date is in the future.
Start a named Cotonic worker from a template.
Used for fetching the menu in the admin.
The mod_linkedin module plugs into the authentication system to enable LinkedIn login on your site.
Determine if any answer of a question was wrong. Used for showing results of thurstone test questions.
Removes whitespace between HTML tags.
Return the first element after another element in a list. For example:
Call all modules to include a certain template.
User is about to log off. Modify (if needed) the logoff request context.
Adds an hour to a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Translates a string to a md5 hex value.
Used on the mailing list subscriptions page where users and recipients can unsubscribe from mailinglists.
Translate a text value using gettext and substitute variables.
When uploading a file, this module extracts properties from the uploaded media and sets them in the resource.
Test if a value is a number (integer or floating point):
Toggle a configuration value. Used in the admin, for instance when displaying a “live” checkbox the state of which should reflect a config value.
Provides periodic tick notifications and module-defined cron job scheduling.
Check with useauth if the authentication using the Microsoft identity platform is enabled and configured.
Returns the last character or element.
Remove a CSS class from an HTML element.
Media update done notification. action is ‘insert’, ‘update’ or ‘delete’
Determine the URL fetch options for fetching the content of an URL. Used by z_fetch.erl.
Move the target element by appending it to another element.
Return an empty HTTP 204 No Content response.
Filter the contents of a block through variable filters.
Remove an element from the page.
A module has been activated and started.
Match a value with a regular expression.
Select an element from a tuple or list of tuples.
Show a rsc as a HTML page.
Tracks the send/bounce/error status of all outgoing emails.
Serve an ACME HTTP-01 challenge for Let's Encrypt certificate issuance.
Translate a string to a sha1 hex value.
Sanitize an HTML element.
Send a request to the client to login a user. The zotonic.auth.worker.js will
Adds support for viewing and handling audio medium items.
Translates a datetime from local time to UTC.
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…
Change the language of an URL to another language. Useful to generate alternative URLs for a page.
Removes a mask that was placed over an element using the action#mask action.
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…
Show the current date and time.
Tests if two dates are not equal.
Model to start uploads, upload a block and delete uploads.
Return a translated, human-readable label for a MIME content type.
Check if an entered e-mail address is unique by querying model#identity for the email key:
Sanitize a HTML code. Removes elements and attributes that might be dangerous, like <script> elements.
Delete a value from the typed key/value store
Shows the admin category screen where you can edit the category tree, rearranging the categories, adding new categories, or removing existing ones.
Joins the elements of a list. Joins the elements of the input list together, separated by the argument.
Adds editing of resources, menu-trees and collections for non-admin users.
Request certificates from Let’s Encrypt.
Rewrite a URL before it will be dispatched using the z_sites_dispatcher
Groups items of a list by a property.
Filter a list of resource ids on category, or test if a single resource id belongs to a category.
Define a template block and overrules a template block from an inherited template.
Returns the length of the value.
This model holds the admin menu, which is built up by calling each module to add items to the menu.
Adds recipient query string details to hyperlinks.
Adds basic search engine optimization to the base templates and provides an admin interface for configuring SEO options and Google Universal Analytics.
Generate a data: url of a still image.
The admin controller is the main controller behind which admin pages are served. Its main purpose is that it does an authentication check (Is current user…