Browse by topic

Discover Documentation

Explore related documentation through its most useful keyword groups.

1337 items

Grouped by Architecture

All Documentation

User guide

Connecting pages

Link an article to an author, subject, or another page.

Developer guide

Connect resources and preserve order

An edge connects a subject resource to an object resource through a predicate. Use model#edge to inspect and manage these connections.

Models

content_group

Model for content-group checks, currently exposing whether a content group is in use.

User guide

Content ownership

Know who created content and who is responsible for it.

Filters

content_type_label

Return a translated, human-readable label for a MIME content type.

Filters

content_type_urls

Return the available content representations and URLs for a resource.

Controllers

controller_admin

The admin controller is the main controller behind which admin pages are served. Its main purpose is that it does an authentication check (Is current user…

Controllers

controller_admin_backup

Shows the admin backup screen where you can download nightly backups that were made by module#mod_backup.

Controllers

controller_admin_category_sorter

Shows the admin category screen where you can edit the category tree, rearranging the categories, adding new categories, or removing existing ones.

Controllers

controller_admin_comments

Shows an admin screen with an overview of most recently created comments. The screen offers the option to moderate the comments or delete them entirely.

Controllers

controller_admin_config

Shows the admin config editor. Here you can edit the key/value pairs of model#config.

Controllers

controller_admin_edit

The main admin edit controller. This controller serves the edit page where resources can be edited.

Controllers

controller_admin_mailinglist_recipients

Shows the recipients of the current mailing list. The recipients are listed in three columns, and have a checkbox next to them to deactivate them.

Controllers

controller_admin_mailing_status

This controller shows the mailing status of a resource. It lists each mailing list available in the system, and shows whether or not the current resource has…

Controllers

controller_admin_media_preview

A controller for rendering preview thumbnails of any media embedded in a richtext-editor component of a resource on the controller#controller_admin_edit page.

Controllers

controller_admin_seo

Shows a form with settings related to Search Engine Optimization.

Controllers

controller_api

controler_api processes authorized REST API requests: It provides an easy way to create API calls to allow computer programs to perform functions on your…

Controllers

controller_authentication

This controller manages all authentication cookies. It is called by the auth model in the browser.

Controllers

controller_file

Serve an uploaded-, resized- or library file.

Controllers

controller_id

Handle different content representations of a page.

Controllers

controller_language_set

Controller which sets the language as given in the code argument, and redirects the user back to the page given in the p argument.

Controllers

controller_logoff

Controller that logs off a user, destroying the session. It also removes any “remember me” cookies the user has, so that auto-logon is disabled.

Controllers

controller_logon_done

This controller is used as a jumping stone after a log on from the /logon page. The p argument is passed from the /logon page.

Controllers

controller_media_runner_callback

Client-side receiver for results produced by the external media runner site. This controller belongs to mod_base , so each client site has a callback endpoint…

Controllers

controller_ping

Simple controller for connection tests, used on the /test/connection page.

Controllers

controller_signup

Controller which displays a form to sign up (rendered from signup.tpl ).

Controllers

controller_signup_confirm

Controller which displays the confirmation page where the user can confirm his signup.

Controllers

controller_websub

HTTP hub and subscriber callback controller for mod_websub .

Controllers

controller_websub_topic

Serve the complete JSON representation advertised as a resource's WebSub topic.

Models

copyright

Model for copyright and rights metadata helpers, including Creative Commons lists, rights statement lookup, and attribution/year values.

Cotonic

Cotonic Cotonic

Cotonic is a Javascript library which makes it possible to split the javascript code of your page into truly isolated components. By…

Cotonic

cotonic.broker Cotonic

The broker module handles all local publish subscribe connections. The subscriptions are stored in a trie datastructure allowing quick action. They…

Cotonic

cotonic.mqtt Cotonic

The mqtt module provides functions to work with mqtt topics. The broker uses this module as the basis to provide its functionality. This module…

Cotonic

cotonic.mqtt_bridge Cotonic

This module makes it possible to bridge the broker on the local page to an external MQTT broker.

Cotonic

cotonic.tokenizer Cotonic

The tokenizer transforms text to html tokens. The tokenizer is used by the user interface composer in order to call the incremental-dom api.

Cotonic

cotonic.ui Cotonic

The user interface composer manages html snippets which can be placed in the DOM tree. When an updated html snippet is delivered to the composer it…

Developer guide

Create a page layout

Use an existing site base template as your starting point. Put shared document structure in the base and page-specific markup in blocks.

Developer guide

Create a page layout

Use an existing site base template as your starting point. Put shared document structure in the base and page-specific markup in blocks.

Cookbook

Create a reusable module

Create apps_user/zotonic_mod_garden with the following files. This example adds a discoverable module without starting an extra process.

Developer guide

Create a reusable module

Create apps_user/zotonic_mod_garden with the following files. This example adds a discoverable module without starting an extra process.

Developer guide

Create your first site

Create the garden blog, open it in your browser, and sign in to its admin.

Developer guide

Create your first site

Create the garden blog, open it in your browser, and sign in to its admin.

Developer guide

Create your first site

Create the garden blog, open it in your browser, and sign in to its admin.

User guide

Creating a page

Start a new page with the right category and language.

User guide

Creating a quiz

Mark correct answers, set scores, and choose the feedback respondents see.

User guide

Creating a user

Set up an account when your role allows user management.

Developer guide

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 of Zotonic. To make those look like…

Validators

custom

Support for custom client-side (JavaScript-based) validators.

Models

custom_redirect

Model for custom redirect records, exposing redirect list and individual redirect lookup by id.