Browse by topic

Discover Documentation

Explore related documentation through its most useful keyword groups.

1435 items

Grouped by Architecture

All Documentation

Tags

with

Assign a complex value to a variable.

Actions

with_args

Apply actions with arguments added.

Tags

with_msgctxt

Override gettext message context for a lexical scope:

Filters

without

Remove the items given in the argument from the filter value.

Filters

without_embedded_media

Filter out media ids that are embedded in the body , body_extra and text blocks of your page.

Scomp

worker

Start a named Cotonic worker from a template.

Cotonic

Worker functions Cotonic

Workers are stand alone processes. They have no shared data with the page, nor with other workers. Their memory and calling context is isolated.

Cotonic

Workers Cotonic

Cotonic uses Web Workers which all run in separate calling context. This means that they will not block the main user interface thread. They are…

Developer guide

Work with a site context

A context carries the site and request-related state used by Zotonic APIs. Pass it through your functions instead of storing one context globally.

Developer guide

Work with uploaded media

A media resource has ordinary content properties and information about its associated file. Use model#media to inspect and manipulate media through Zotonic's…

Developer guide

Write logs that explain an operation

Log the operation and its result with structured fields. Include an identifier that helps connect the message to a resource or job, without logging credentials…

Filters

yesno

Show a boolean value as a text.

Actions

zlink

Used for inserting an internal link in the TinyMCE editor in the admin.

Actions

zmedia

Used for triggering the insertion of a media item in the TinyMCE editor in the admin.

Actions

zmedia_choose

Used after a media item is selected in the media chooser for the TinyMCE editor.

Actions

zmedia_has_chosen

Used by the admin as a callback when a media file has been selected for insertion into the rich-text editor.

Modules

Zotonic Core

The Zotonic core system implements the basic parts needed for every site.

Cotonic

Zotonic Cotonic models Cotonic

Zotonic Cotonic models These browser-side models extend Cotonic with Zotonic functionality. Each model has its own reference page:

Modules

zotonic_filehandler

Coordinate development-time handling of changed source and asset files.

User guide

Zotonic for editors

Practical help for writing, organizing, and publishing website content.

Modules

zotonic_notifier

Provide Zotonic's extensibility mechanism through typed notifications.

Models

zotonic_status

Model for system-wide site status information.