Documentation
Browse by topic
Explore related documentation through its most useful keyword groups.
1337 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 clusterRotate through a list of values.
Formats a date or datetime according to the format specified in the argument.
Validate input date against a given date format.
Calculate the difference between two dates, returning a single part of that difference.
Show a date range.
Shows which variables are assigned for use in the current template’s scope:
Start Zotonic in the foreground with an Erlang shell.
Decrypt a local encrypted backup file.
Provide an alternative value in case a value has a falsy value (0, false , undefined or empty string).
Provide an alternative value in case a value is undefined.
Provide an alternative value in case a value is undefined.
Choose recovery coverage, retention, and an owner.
Delete a media file from a resource, without confirmation.
Delete a resource, without confirmation.
Delete the username from a user, no confirmation.
Remove a page that is no longer needed.
The main site or module can declare:
Apply a tested revision and check the site from a visitor’s perspective.
Record the code revision, build steps, configuration changes, and schema changes for the release. Build and test the same revision in an acceptance environment…
Build, inspect, and maintain Zotonic sites and modules.
Model for development and diagnostics controls, including tracing flags, observer lists, cache/compile/reindex actions, and dispatch info.
Reproduce one action with the browser console and network panel open. Check for a JavaScript error before the request, a failed request, or a successful…
Separate node, site, database, and application failures.
Locate the failure in permission, storage, or processing.
Trace one message from request to recipient.
Opens a dialog with a predefined HTML content and title.
Closes a dialog. When there is no dialog open then nothing happens.
Open a dialog that asks confirmation to delete a configuration key/value pair.
Open a dialog to edit a configuration key/value pair.
Open a dialog to create a new configuration key/value pair.
Open a dialog to confirm the deletion of a resource.
Open a dialog to confirm the deletion of the username of a user.
Open a dialog to duplicate the current resource with a new id and title.
Open a dialog to edit the “basic” information of a resource.
Shows the dialog to mail the current page ( resource) to a mailing list. This is used in the admin “mailing status” interface. A mailing can be sent…
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
Shows the admin dialog for uploading a media item. See Media.
Show the admin dialog for creating a new resource.
Renders a template on the server and opens a dialog with the HTML output of the template.
Show a dialog for creating a new predicate.
Show a dialog for setting a username / password on the given resource (which is usually a person).
Show a dialog for adding a user. This creates a person resource and adds a username / password to it.
Prevent an acceptance workflow from emailing real users.
Sets the “disabled” attribute of a HTML tag and adds the CSS class “disabled”.
Dispatch or generate URLs or page paths. Useful to check dispatch rules or for client side code to dispatch page paths.
Inspect dispatch rules or trace a URL.
Define reusable image sizes in priv/templates/mediaclass.config and use them in image tags. For example, a local mediaclass can constrain an image's width:
Define reusable image sizes in priv/templates/mediaclass.config and use them in image tags. For example, a local mediaclass can constrain an image's width:
First check which file is selected and whether the changed code compiled. Then repeat the request with the relevant cache disabled or flushed.
Export answers and check what information the file contains.
Mark a html element as draggable.
Mark an element as valid drag destination.
Choose between a new copy and a connection to existing content.
Access information about page connections.
Change existing content and check the result.
Find the menu that your website displays.
Add WYSIWYG editor controls to the textareas selected by the target. The active editor integration, such as TinyMCE, implements the actual controls; the action…
Remove WYSIWYG editor controls from the textareas selected by the target. Use this before replacing or moving editor-managed markup so the editor can release…
Model exposing TinyMCE editor version metadata used by admin/editor integration.
Run a jQuery UI effect on the target element.
Select an element from a tuple or list of tuples.
Check if the content of the input field is an e-mail address.
DomainKeys Identified Mail Signatures (RFC 6376) is a method to add a signature to outgoing emails. This enables recipients to check who sent an email and if…
Model for received-email recipient extraction and matching used by mod_email_receive.
Model for email relay API endpoints, handling relay delivery requests and relay status updates.
Tracks the send/bounce/error status of all outgoing emails.
Check if an entered e-mail address is unique by querying model#identity for the email key:
Fetch media ids that are embedded in the body , body_extra and text blocks of your page.
Resets the “disabled” attribute of a HTML tag and removes the CSS class “disabled”.
Enable an installed module on one site and verify the result.
Change module activation and verify the affected workflow.
Sign in to the local site's admin as an administrator. Open the module management page, find Development (mod_development), and activate it if necessary.
Tests if the value is a date and equal to the argument. The value and the argument must be a tuple of the format {Y,M,D} or {{Y,M,D},{H,I,S}} .
These terms describe different parts of the system.
HTML escape a text. Escapes all reserved HTML characters in the value. Escaped strings are safe to be displayed in a HTML page. When you echo a query string…
Ensures thant an HTML escaped value is properly escaped.
Escape the value according to the RFC2445 rules.
Escapes the value for insertion in JavaScript output.
Escapes the value for safe insertion into JSON strings.
Convert any URLs in a plaintext into HTML links, with adding the rel="nofollow" attribute, and replaces all newlines with <br> tags.
Escape the value for insertion in xml output.
Inspect active Erlang processes.
Bind actions to a jQuery event or submit a form.
Filters a list on the value of a property, either on absence or inequality.
Start from the site's existing model API or controller patterns. Specify the method, input fields, response shape, and errors before connecting a browser or…
Create src/models/m_garden.erl in the Garden module. This complete example exposes a public greeting:
Create src/models/m_garden.erl in the Garden module. This complete example exposes a public greeting:
Inherit markup from another template.
Extract a specific property from each item in a list.
Model for Facebook integration helpers, including auth-use flag, profile picture fetch, and Graph API proxy calls.
Show an element by animating the opacity.
Hide an element by animating the opacity.
Suggest which pages deserve attention.
This filter formats a numeric value as KB, MB etc. This filter can be used to display a number of bytes in a human readable format of kilo- or megabytes.
Read filestore configuration and statistics through m.filestore , for example {{ m.filestore.service }} or {{ m.filestore.stats.cloud }} in an admin template.
Model to start uploads, upload a block and delete uploads.
Filters a list on the value of a property, either on presence or equality.
Filter the contents of a block through variable filters.
Filter a list of items based on a property value and optional predicate.
Calculate the great-circle distance between two locations in kilometers.