Browse by topic

Discover Text

Explore related documentation through its most useful keyword groups.

1438 items

Grouped by Architecture

All Text

Filters

summary

Extract a summary from a resource.

Tags

overrules

Inherit markup from like named template in another module.

Controllers

controller_signup

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

Modules

mod_ssl_ca

The mod_ssl_ca module adds support for using SSL certificates bought from a Certificate Authority.

Tags

raw

Make a literal section which does not interpret tags.

Actions

slide_up

Hide an element by animating the height.

Notifications

observe_rsc_update/3

An updated resource is about to be persisted. Observe this notification to change the resource properties before they are persisted.

Actions

mailinglist_unsubscribe

Cancel a mailing list subscription. The recipient id is given with the id argument.

Models

linkedin

Model for LinkedIn integration helpers, currently exposing whether LinkedIn auth integration is enabled.

Actions

slide_fade_out

Hide an element by animating the height and opacity.

Actions

mailinglist_confirm

Confirm a mailinglist subscription. Required argument is the confirm_key .

Notifications

observe_media_viewer/2

Request to generate a HTML media viewer for a resource. The HTML data can not contain any Javascript, as it might be serialized. This could happen if the…

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.

Filters

rjust

Justifies the value in a field of a certain width to the right, using spaces.

Models

admin_note

Add an editorial note to any resource.

Filters

urlize

Find urls in the given input and make them clickable.

Filters

tokens

Returns a list of tokens from input string, separated by the characters in the filter argument.

Modules

mod_video

Adds support for viewing and handling video medium items.

Modules

mod_email_relay

This module supports relaying email between Zotonic servers.

Filters

escape_link

Convert any URLs in a plaintext into HTML links, with adding the rel="nofollow" attribute, and replaces all newlines with <br> tags.

Models

import_csv_data

Model to track resources imported from CSV and XLSX files.

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…

Filters

max

Take the maximum of the filter value and its first argument.

Actions

dialog_user_add

Show a dialog for adding a user. This creates a person resource and adds a username / password to it.

Filters

chunk

This filter splits a list in shorter lists. It splits an array in sub-arrays of at most a given length. This is useful when displaying a list of items in…

Filters

add_week

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

Modules

mod_oembed

Makes media resources from embeddable URLs through the OEmbed protocol.

Actions

jquery_effect

Trigger various jQuery effects on the target element. Mostly, each of these effects have their own action as a shortcut, for example action#show, action#hide.

Modules

mod_admin_identity

Provides identity management in the admin - for example the storage of usernames and passwords.

Modules

mod_logging

Logs messages to the database and adds log views to the admin.

Dispatch rules

mod_admin dispatch rules

URL dispatch rules defined by mod_admin in apps/zotonic_mod_admin/priv/dispatch/dispatch.

Modules

mod_oauth2

OAuth2 provider module for app/client/token management and authorization flows.

Modules

mod_import_csv

Module which adds “import CSV” button to the admin status screen.

Modules

mod_video_embed

This module, if activated, checks the pasted URLs in the create media / page dialog of the admin. It will show an embed option for Youtube and Vimeo URLs. It…

Tags

image_url

Generate the url of a still image.

Notifications

observe_logon_options/3

Check for logon options, called if logon_submit returns undefined. This is used to fetch external (or local) authentication links for a username. Return:: map()

Actions

dialog_close

Closes a dialog. When there is no dialog open then nothing happens.

Actions

set_class

Set the class of an element.

Models

translation

The m_translation model gives easy access to language and translation related information.

Models

admin_config

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

Actions

effect

Run a jQuery UI effect on the target element.

Tags

include

Include another template. The include tag is replaced with the contents of the included template file. You can give arguments to the included template, they…

Actions

toggle_class

Toggle a CSS class from an HTML element.

Notifications

observe_acl_is_allowed/2

Check if a user is authorized to perform an operation on a an object (some resource or module). Observe this notification to do complex or more fine-grained…

Filters

embedded_media

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

Tags

trans

Translate a text value using gettext.

Notifications

observe_export_resource_data/2

mod_export - fetch a row for the export, can return a list of rows, a binary, and optionally a continuation state. Where Values is [ term() ], i.e. a list of…

Filters

brlinebreaks

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

Models

auth2fa

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

Actions

zmedia_choose

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

Modules

mod_artwork

This module contains many useful icons and images.

Scomp

wire

Connect actions and events to a HTML element.

Modules

mod_menu

Create nested navigation menus for your site.

Validators

postback

Performs a custom server side validation of an input value. This allows you to add your own validation logic to HTML form fields.

Tags

url

Generate the URL for a named dispatch rule. In this way it is possible to automatically change the generated URLs when the dispatch rules are modified.

Actions

link

Add an edge between two resources. Used in the admin.

Modules

mod_admin_statistics

Admin module exposing site statistics views and related dashboard metrics.

Filters

minmax

Force the given value in the given range.

Actions

zmedia

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

Filters

randomize

Shuffle a list of values.

Notifications

observe_content_types_dispatch/3

Get available content types and their dispatch rules Example: {{<<”text”>>, <<”html”>>, []}, page} A special dispatch rule is ‘page_url’, which refers to the…

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.

Scomp

menu

Show a page menu.

Modules

mod_survey

Adds survey resources: user-defined forms that can be created in the admin interface and filled in by site visitors. The module renders multi-page forms

Filters

range

Generate a list of integers, with an optional step.