Browse by topic

Discover Text

Explore related documentation through its most useful keyword groups.

1342 items

Grouped by Architecture

All Text

Scomp

loremipsum

Inserts a piece of “lorem ipsum” text into the page.

Filters

ip2geo

Return geographic information associated with an IP address.

Modules

mod_ssl_ca

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

Controllers

controller_signup

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

Filters

yesno

Show a boolean value as a text.

Tags

raw

Make a literal section which does not interpret tags.

Modules

mod_ratelimit

Implements rate limiting for various resources.

Tags

overrules

Inherit markup from like named template in another module.

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…

Modules

mod_email_relay

This module supports relaying email between Zotonic servers.

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…

Filters

tokens

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

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.

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.

Actions

slide_fade_out

Hide an element by animating the height and opacity.

Filters

urlize

Find urls in the given input and make them clickable.

Modules

mod_video

Adds support for viewing and handling video medium items.

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.

Actions

mailinglist_unsubscribe

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

Actions

mailinglist_confirm

Confirm a mailinglist subscription. Required argument is the confirm_key .

Actions

slide_up

Hide an element by animating the height.

Models

linkedin

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

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

dialog_user_add

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

Filters

add_week

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

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()

Modules

mod_oembed

Makes media resources from embeddable URLs through the OEmbed protocol.

Actions

dialog_close

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

Tags

image_url

Generate the url of a still image.

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…

Models

import_csv_data

Model to track resources imported from CSV and XLSX files.

Dispatch rules

mod_admin dispatch rules

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

Filters

max

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

Modules

mod_admin_identity

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

Modules

mod_oauth2

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

Modules

mod_logging

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

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…

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.

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…

Models

translation

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

Actions

effect

Run a jQuery UI effect on the target element.

Scomp

wire

Connect actions and events to a HTML element.

Models

auth2fa

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

Actions

set_class

Set the class of an element.

Models

admin_config

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

Notifications

observe_import_resource/2

An external feed delivered a resource. First handler can import it. Return:: {ok, m_rsc:resource_id()} , {error, Reason} , or undefined

Filters

brlinebreaks

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

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…

Modules

mod_artwork

This module contains many useful icons and images.

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…

Modules

mod_menu

Create nested navigation menus for your site.

Actions

zmedia_choose

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

Actions

link

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

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…

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.

Tags

trans

Translate a text value using gettext.

Modules

mod_admin_statistics

Admin module exposing site statistics views and related dashboard metrics.

Filters

embedded_media

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

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.

Actions

toggle_class

Toggle a CSS class from an HTML element.

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…

Notifications

observe_email_failed/2

Notify that we could NOT send an e-mail (there might be a bounce later...) The Context is the depickled z_email:send/2 context.

Notifications

observe_identity_verified/2

Notify that a user’s identity has been verified. Signals to modules handling identities to mark this identity as verified. Handled by mod_admin_identity to…

Notifications

observe_media_upload_props/3

Notification that a medium file has been uploaded. This is the moment to change properties, modify the file etc. The folded accumulator is the map with updated…