Text
See also
See also
Welcome to Zotonic 0.90.0, released on September 4, 2025.
Show the first page for a given survey (with the id parameter):
Sort a list of language codes or map with languages on their localized name in the currently selected language. This is…
Dispatch or generate URLs or page paths. Useful to check dispatch rules or for client side code to dispatch page paths.
Welcome to Zotonic 0.89.1, released on July 3, 2025.
Welcome to Zotonic 0.89.0, released on July 1, 2025.
See also
Render a template.
A mail-merge like filter where tag-expressions in a text are replaced with the value of their evaluation.
Welcome to Zotonic 0.88.0, released on March 13, 2025.
Check if a list of questions contains a pagebreak block with an unconditional submit.
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.
Parse a string as a JSON (JavaScript Object Notation) value. The returned value can be processed futher.
Not yet documented.
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.
Welcome to Zotonic 0.84.0, released on August 29, 2024.
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.
Welcome to Zotonic 0.83.0, released on June 27, 2024.
Todo
Not yet documented.
Return a list of all languages present in the given translated text ( #trans{} record).
See also
Return the list of identity types that allow somebody to logon and become an active user of the system. Defaults to […
If you are building a website then you might want to use the standard dialogs, overlays, authentication and other parts…
Welcome to Zotonic 0.82.0, released on March 25, 2024.
Not yet documented.
Welcome to Zotonic 0.81.0, released on January 12, 2024.
Try to detect the language of a translation. Set is_editable_only to false to detect any language, even if the language…
Request a translation of a list of strings. The resulting translations must be in the same order as the request. This…
Welcome to Zotonic 0.80.0, released on November 21, 2023.
Working together on private content. Groups can organize and manage members without the complexity of the full access…
Format dispatch path element so variables will be more visible.
format_dispatch_controller_option
Format dispatch controller options.
See also
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…
See also
See also
Welcome to Zotonic 0.78.1, released on July 6, 2023.
Welcome to Zotonic 0.78.0, released on June 29, 2023.
Todo
Todo
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…
See also
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…
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…
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.
Released on 2023-01-30.
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…
See also
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…
Add an editorial note to any resource.
Map a custom search term to a #search_sql_term{} record.
Welcome to Zotonic 0.73.0, released on December 8, 2022.
Released on 2022-12-05.
See also
See also
Welcome to Zotonic 0.72.0, released on November 21, 2022.
Released on 2022-11-17.
Released on 2022-11-11.
Released on 2022-10-31.
Welcome to Zotonic 0.71.0, released on October 18, 2022.
Released on 2022-10-12.
Round a number value to a number of significant digits. The significance defaults to two digits.
Welcome to Zotonic 0.70.1, released on September 26, 2022.
Welcome to Zotonic 0.70.0, released on September 16, 2022.
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 an email address, used in the identity management.
Welcome to Zotonic 0.69.0, released on August 30, 2022.
Welcome to Zotonic 0.68.0, released on July 21, 2022.
Welcome to Zotonic 0.67.0, released on July 5, 2022.
Welcome to Zotonic 0.66.0, released on May 24, 2022.
Delegates the request processing.
Community support - mailinglists Do you want to start a Zotonic based project? Then join our mailing lists and discuss…
Get the latest release Download the latest release of Zotonic from Github. Use git clone, so that you can easily…
Welcome to Zotonic 0.65.0, released on March 17, 2022.
Welcome to Zotonic 0.64.0, released on March 4, 2022.
Fetch the data for an import of a resource. Returns data in the format used by m_rsc_export and m_rsc_import. Either…
Add a handler for receiving e-mail notifications
Access log event for http. Called from the z_stats.
Check for logon options, called if logon_submit returns undefined. This is used to fetch external (or local…
observe_auth_client_switch_user/2
Send a request to the client to switch users. The zotonic.auth.worker.js will
Return the options for the DKIM signature on outgoing emails. Called during email encoding.
Called just before validation of all query arguments by z_validation.
Let all modules add resource specific response headers to the request. The accumulator is the list of headers to be set.
Notification to import a medium record from external source. This is called for non-file medium records, for example…
Determine the URL fetch options for fetching the content of an URL. Used by z_fetch.erl.
observe_auth_client_logon_user/2
Send a request to the client to login a user. The zotonic.auth.worker.js will