Browse by topic

Discover Documentation

Explore related documentation through its most useful keyword groups.

1065 items

Grouped by Architecture

All Documentation

Release notes

0.64.0

Welcome to Zotonic 0.64.0, released on March 4, 2022.

Release notes

0.65.0

Welcome to Zotonic 0.65.0, released on March 17, 2022.

Release notes

0.66.0

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

Release notes

0.67.0

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

Release notes

0.68.0

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

Release notes

0.69.0

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

Release notes

0.70.0

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

Release notes

0.70.1

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

Release notes

0.71.0

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

Release notes

0.72.0

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

Release notes

0.73.0

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

Release notes

0.75.0

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

Release notes

0.76.0

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

Release notes

0.77.0

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

Release notes

0.78.0

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

Release notes

0.78.1

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

Release notes

0.80.0

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

Release notes

0.81.0

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

Release notes

0.82.0

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

Release notes

0.83.0

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

Release notes

0.83.1

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

Release notes

0.84.0

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

Release notes

0.87.0

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

Release notes

0.88.0

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

Release notes

0.89.0

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

Release notes

0.89.1

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

Release notes

0.90.0

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

Release notes

0.91.0

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

Release notes

0.92.0

Welcome to Zotonic 0.92.0, released on April 21, 2026.

Release notes

0.93.0

Welcome to Zotonic 0.93.0, released on July 7, 2026.

Release notes

0.94.0

Welcome to Zotonic 0.94.0, released on August 25, 2026.

Release notes

1.0.0_rc.10

Released on 2022-10-31.

Release notes

1.0.0_rc.11

Released on 2022-11-11.

Release notes

1.0.0_rc.12

Released on 2022-11-17.

Release notes

1.0.0_rc.13

Released on 2022-12-05.

Release notes

1.0.0_rc.14

Released on 2022-12-23.

Release notes

1.0.0_rc.15

Released on 2023-01-30.

Release notes

1.0.0_rc.16

Released on 2026-03-27.

Release notes

1.0.0_rc.17

Released on 2026-03-30.

Release notes

1.0.0_rc.8

Released on 2022-09-13.

Release notes

1.0.0_rc.9

Released on 2022-10-12.

Validators

acceptable_password

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

Validators

acceptance

Check if an input value evaluates to true.

Developer guide

Access control

Access control is about defining who is allowed to access certain resources. It takes two steps:

Models

acl

The m_acl model gives access the id of the currently logged in user, and provides a mechanism to do basic access control checks.

Reference

ACL options

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:

Models

acl_rule

Model for ACL rule inspection and helper checks in mod_acl_user_groups, including insert/move checks, upload limits, mime checks, and ACL state lookups.

Models

acl_user_group

Model for ACL user-group helper values in mod_acl_user_groups, including collaboration-group settings and category usage checks.

Actions

add_class

Add a css class to an html element.

Filters

add_day

Adds a day to a date. The value must be of the form {{Y,M,D},{H,I,S}} .

Filters

add_hour

Adds an hour to a date. The value must be of the form {{Y,M,D},{H,I,S}} .

Filters

add_month

Adds a month to a date. The value must be of the form {{Y,M,D},{H,I,S}} .

Filters

add_week

Adds a week to a date. The value must be of the form {{Y,M,D},{H,I,S}} .

Filters

add_year

Adds a year to a date. The value must be of the form {{Y,M,D},{H,I,S}} .

Models

admin

This model exposes some meta-information for the use in mod_admin templates.

Models

admin_blocks

Model for listing editable content blocks for a resource in the admin interface.

Models

admin_config

Model for admin configuration views, including SSL certificate info, security directory info, and selected module config values.

Models

admin_identity

Model for admin identity configuration values, including password policy regex and default category/content-group for new users.

Models

admin_keyword

Provide aggregate keyword usage and overlap data for mod_admin_keyword .

Models

admin_menu

This model holds the admin menu, which is built up by calling each module to add items to the menu.

Filters

admin_merge_diff

Compare two resources and return a formatted list of their differences.

Models

admin_note

Add an editorial note to any resource.

Models

admin_status

Model for admin status endpoints, including Zotonic version and health/status overview values.

Actions

admin_tasks

Action module which provides postback handlers for the “status” view of the admin:

Filters

after

Return the first element after another element in a list. For example:

Actions

alert

Show an alert dialog.

Tags

all_catinclude

Include a template for all a resource’s categories from all modules.

Tags

all_include

Call all modules to include a certain template.

Actions

animate

Add a $(..).animate jQuery call to the target element.

Filters

append

Appends the argument to the value.

Filters

as_atom

Convert a value to an Erlang atom.

Models

auth2fa

Model for two-factor authentication state and setup, including TOTP QR/image generation, mode checks, reset checks, and clock skew checks.

Actions

auth_disconnect

Disconnect an external authentication identity from a resource.

Models

authentication

Model for authentication state and login support checks, including password authentication flow helpers and reminder/verification actions.

Tags

autoescape

Automatically apply HTML escaping to values.

Developer guide

Automatic startup on system boot

Once you have Zotonic running, you want to make sure that it automatically starts up when the server reboots, so that the website keeps running after a power…

Models

backup

Model for backup configuration and operational status, including backup permissions, listing, directory, encryption settings, and active backup state.

Models

backup_revision

Model for resource revision backup metadata, including revision list/title retrieval and revision retention settings.

Filters

before

Return the first element before another element in a list. For example:

Developer guide

Best Practices

Creating sites Media Best Practices Template Best Practices and Pitfalls

Tags

block

Define a template block and overrules a template block from an inherited template.

Filters

brlinebreaks

Translate HTML <br/> elements into ASCII newlines ( \n ).

Developer guide

Browser/server interaction

There are multiple ways to set up interaction between server-side Zotonic code and client-side JavaScript.

Scomp

button

Makes a button with an action attached.

Actions

buttonize

Add button interaction classes to an element.

Tags

cache

Cache frequently used rendered template output for later reuse.

Tags

call

Call an Erlang function.

Filters

capfirst

Converts the first character of the value to uppercase.

Tags

catcompose

Compose another template based on the category of a resource.

Models

category

This model can retrieve information about the resource category hierarchy in different ways.

Tags

catinclude

Include another template based on the category of a resource. The include tag is replaced with the contents of the included template file. You can give…

Filters

center

Centers the value in a field of a certain width using spaces.

Cotonic

Change log Cotonic

1.9.0 — Sep 1, 2026 — Diff — Docs — Download

Scomp

chart

Render a chart without JavaScript, CSS, external services, or external assets.

Scomp

chart_donut

Render a donut chart as inline SVG.

Scomp

chart_pie

Render a pie chart as inline SVG.