Text

All Text

0.91.0

Welcome to Zotonic 0.91.0, released on February 4, 2026.

rsc_update

Resource update helper module used by m_rsc .

rsc_import

Import model for resources exported by m_rsc_export .

survey_saved

Model for saving and retrieving intermediate survey answers for users. There can only be a single intermediate result…

rsc_export

Export a full resource representation for API and model access.

zotonic_status

Model for system-wide site status information.

extract

Extract a specific property from each item in a list.

to_boolean

Convert the input to a boolean value.

floor

Round down a floating point value.

survey_page_options

Check the list of blocks and collect all options for that page.

survey_is_save_intermediate

Check if the given survey is configured to save intermediate results. Always returns a boolean value.

filter_by

Filter a list of items based on a property value and optional predicate.

sum

Sum a list of numbers.

default_if_undefined

Provide an alternative value in case a value is undefined.

default_if_none

Provide an alternative value in case a value is undefined.

0.90.0

Welcome to Zotonic 0.90.0, released on September 4, 2025.

survey_start

Show the first page for a given survey (with the id parameter):

language_sort_localized

Sort a list of language codes or map with languages on their localized name in the currently selected language. This is…

dispatch

Dispatch or generate URLs or page paths. Useful to check dispatch rules or for client side code to dispatch page paths.

0.89.1

Welcome to Zotonic 0.89.1, released on July 3, 2025.

0.89.0

Welcome to Zotonic 0.89.0, released on July 1, 2025.

page_path_unique

A validator to check whether a resource’s page path is unique:

render

Render a template.

merge_tags

A mail-merge like filter where tag-expressions in a text are replaced with the value of their evaluation.

0.88.0

Welcome to Zotonic 0.88.0, released on March 13, 2025.

survey_is_pagebreak_submit

Check if a list of questions contains a pagebreak block with an unconditional submit.

0.87.0

Welcome to Zotonic 0.87.0, released on February 4, 2025.

observe_content_security_header(Default, Acc, Context)

Check and possibly modify the http response security headers All headers are in lowercase.

from_json

Parse a string as a JSON (JavaScript Object Notation) value. The returned value can be processed futher.

email_relay

Model for email relay API endpoints, handling relay delivery requests and relay status updates.

hasedge

A validator to check if a resource has a certain number of edges with a predicate.

observe_email_is_recipient_ok/2

Check if an email address is safe to send email to. The email address is not blocked and is not marked as bouncing.

0.84.0

Welcome to Zotonic 0.84.0, released on August 29, 2024.

0.83.1

Welcome to Zotonic 0.83.1, released on August 6, 2024.

observe_identity_update_done/2

Notify that a user’s identity has been updated by the identity model.

0.83.0

Welcome to Zotonic 0.83.0, released on June 27, 2024.

mod_copyright

Module for copyright metadata, rights statements, and attribution helpers.

copyright

Model for copyright and rights metadata helpers, including Creative Commons lists, rights statement lookup, and…

trans_languages

Return a list of all languages present in the given translated text ( #trans{} record).

acceptable_password

A validator to check whether a password conforms to the password secutiry requirements.

observe_auth_identity_types/3

Return the list of identity types that allow somebody to logon and become an active user of the system. Defaults to […

CSS classes used in templates

If you are building a website then you might want to use the standard dialogs, overlays, authentication and other parts…

0.82.0

Welcome to Zotonic 0.82.0, released on March 25, 2024.

search_status

Model for search subsystem status, including facet table health checks and facet definition metadata.

0.81.0

Welcome to Zotonic 0.81.0, released on January 12, 2024.

observe_language_detect/2

Try to detect the language of a translation. Set is_editable_only to false to detect any language, even if the language…

observe_translate/2

Request a translation of a list of strings. The resulting translations must be in the same order as the request. This…

0.80.0

Welcome to Zotonic 0.80.0, released on November 21, 2023.

About collaboration groups

Working together on private content. Groups can organize and manage members without the complexity of the full access…

format_dispatch_path_element

Format dispatch path element so variables will be more visible.

format_dispatch_controller_option

Format dispatch controller options.

media_for_language

Filter a list of media items by their medium_language property, return the best matching with the current or given…

Building a live updating search page

Search pages are often simple forms that reload the page with new arguments. In this article we will show how you can…

Tracing templates for greater understanding

A picture tells a thousand words, so we added an exciting new development tool to explore which templates are used…

truncatechars

Truncate a text to a maximum length in characters.

menu_ids

Returns all resource ids in a menu. Could return invisible and non existing resource ids. The returned ids are a flat…

0.78.1

Welcome to Zotonic 0.78.1, released on July 6, 2023.

0.78.0

Welcome to Zotonic 0.78.0, released on June 29, 2023.

rdf

Model for RDF summaries of resources. It provides short RDF-oriented summary maps for resources, with translated and…

json

Todo

set_url_language

Change the language of an URL to another language. Useful to generate alternative URLs for a page.

observe_survey_result_columns/3

Add header columns for export. The values are the names of the answers and the text displayed above the column. The…

survey_result_column_values

Used by the survey module to add extra column values to the result editor.

0.77.0

Welcome to Zotonic 0.77.0, released on May 25, 2023.

observe_survey_result_column_values/3

Modify row with answers for export. The header columns are given and the values that are known are set in the folded…

0.76.0

Welcome to Zotonic 0.76.0, released on April 4, 2023.

observe_acl_collab_groups_modify/3

Modify the list of collaboration groups of a user. Called internally by the ACL modules when fetching the list of…

0.75.0

Welcome to Zotonic 0.75.0, released on March 2, 2023.

mailinglist_recipient_key_decode

Used on the mailing list subscriptions page where users and recipients can unsubscribe from mailinglists.

1.0.0_rc.15

Released on 2023-01-30.

mod_cookie_consent

Wrap external content in such a way that it is only loaded if the user consented to the inclusion of the content (and…

observe_media_viewer_consent/2

Optionally wrap HTML with external content so that it adheres to the cookie/privacy settings of the current site…

translate

Translates a (English) value to the current language or the given language.

1.0.0_rc.14

Released on 2022-12-23.

observe_acl_user_groups_modify/3

Modify the list of user groups of a user. Called internally by the ACL modules when fetching the list of user groups a…

admin_note

Add an editorial note to any resource.

observe_search_query_term/2

Map a custom search term to a #search_sql_term{} record.

0.73.0

Welcome to Zotonic 0.73.0, released on December 8, 2022.

1.0.0_rc.13

Released on 2022-12-05.

urldecode

Decode a text where characters are encoded as URL-safe characters.

translation

Lookup a specific translation in a translated text. If the text is not translated then the text is returned as-is.

0.72.0

Welcome to Zotonic 0.72.0, released on November 21, 2022.

1.0.0_rc.12

Released on 2022-11-17.

1.0.0_rc.11

Released on 2022-11-11.

1.0.0_rc.10

Released on 2022-10-31.

0.71.0

Welcome to Zotonic 0.71.0, released on October 18, 2022.

1.0.0_rc.9

Released on 2022-10-12.

round_significant

Round a number value to a number of significant digits. The significance defaults to two digits.

0.70.1

Welcome to Zotonic 0.70.1, released on September 26, 2022.

0.70.0

Welcome to Zotonic 0.70.0, released on September 16, 2022.

1.0.0_rc.8

Released on 2022-09-13.

Security, templates and XSS prevention

Ensuring that you don't fall victim to cross site scripting and other injection attacks takes vigilance, eye for…

normalize_email

Normalize an email address, used in the identity management.

0.69.0

Welcome to Zotonic 0.69.0, released on August 30, 2022.

0.68.0

Welcome to Zotonic 0.68.0, released on July 21, 2022.

0.67.0

Welcome to Zotonic 0.67.0, released on July 5, 2022.

0.66.0

Welcome to Zotonic 0.66.0, released on May 24, 2022.

observe_middleware/3

Delegates the request processing.

Support & Services

Community support - mailinglists Do you want to start a Zotonic based project?  Then join our mailing lists and discuss…

Download Zotonic

Get the latest release Download the latest release of Zotonic from Github. Use git clone, so that you can easily…