Text

All Text

delete_rsc

Delete a resource, without confirmation.

export_resource_header

mod_export - Fetch the header for the export.

export_resource_footer

mod_export - Fetch the footer for the export. Should cleanup the continuation state, if needed.

export_resource_filename

mod_export - return the {ok, Filename} for the content disposition.

export_resource_encode

mod_export - Encode a single data element.

export_resource_data

mod_export - fetch a row for the export, can return a list of rows, a binary, and optionally a continuation state.

export_resource_content_disposition

mod_export - return the {ok, Disposition} for the content disposition.

import_resource

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

import_csv_definition

Find an import definition for a CSV file by checking the filename of the to be imported file.

Import/export notifications

import_csv_definition import_resource export_resource_content_disposition export_resource_content_type…

mod_custom_redirect

Enables redirects from unknown hosts and paths to other locations. The other location can be a known path or another…

m_custom_redirect

Not yet documented.

m_l10n

Not yet documented.

m_admin_config

Not yet documented.

mod_geoip

Used to map IP addresses to geographical locations.

ip2country

Maps an IP address to a country using the MaxMind GeoIP2 database.

center

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

rjust

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

ljust

Justifies the value in a field of a certain width to the left, with spaces.

m_site

Retrieve information that is stored in the site configuration. If you want to query values from the config table…

last

Returns the last character or element.

comment_insert

Notification to signal an inserted comment. ‘comment_id’ is the id of the inserted comment, ‘id’ is the id of the…

focus

Add a $(..).focus() jQuery call to the target element to give it input focus.

admin_edit_blocks

Used in the admin to fetch the possible blocks for display

nthtail

Fetch the nth tail of a list.

first

Returns the first character or element.

tokens

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

mod_admin_config

Add support for editing the site’s configuration values, as accessed through m_config.

url_abs

Make a generated URL absolute, optionally called after url_rewrite by z_dispatcher

media_import

Notification to translate or map a file after upload, before insertion into the database Used in mod_video to queue…

mod_editor_tinymce

Adds wysiwyg tinyMCE editors to the admin.

HTTPS support

Zotonic has built-in support for HTTPS and TLS (previously SSL) certificate handling.

mod_ssl_letsencrypt

Request certificates from Let’s Encrypt.

mod_ssl_ca

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

mod_acl_user_groups

This module adds rule-based access control.

presence

Check if an input has been filled in or checked.

postback

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

numericality

Numerical input and range check.

name_unique

A validator to check whether a resource’s name is unique:

format

Regular expression test.

email

Check if the content of the input field is an e-mail address.

date

Validate input date against a given date format.

confirmation

Check if two inputs are the same.

acceptance

Check if an input value evaluates to true.

mod_comment

Implements a basic commenting system, enabling commenting on resources.

format_integer

Show an integer value.

format_number

Show an integer or float.

format_price

Show a price with decimals.

media_update_done

Media update done notification. action is ‘insert’, ‘update’ or ‘delete’

mod_oembed

Makes media resources from embeddable URLs through the OEmbed protocol.

mailinglist_confirm

Confirm a mailinglist subscription. Required argument is the confirm_key .

media_viewer

Request to generate a HTML media viewer for a resource

mod_ratelimit

Implements rate limiting for various resources.

auth_reset

First to check for password reset forms, return undefined, ok, or {error, Reason}.

length

Check the length of a text input.

m_config

Zotonic has two places where a site’s configuration is kept:

Site configuration

This chapter describes the configuration options for your sites. There’s also global configuration.

dialog_config_new

Open a dialog to create a new configuration key/value pair.

dialog_config_edit

Open a dialog to edit a configuration key/value pair.

dialog_config_delete

Open a dialog that asks confirmation to delete a configuration key/value pair.

config_toggle

Toggle a configuration value. Used in the admin, for instance when displaying a “live” checkbox the state of which…

config_delete

Trigger the deletion of a configuration value. Used in the admin.

Config

config_delete config_toggle dialog_config_delete dialog_config_edit dialog_config_new

mod_export

Provides a generic framework to export resources.

dispatch_export

Dispatch rules Name Path Resource Args export_rsc [“export”,”rsc”] controller_export_resource [] export_rsc…

Release 0.1.0

Released on 2009-11-13.

Release 0.2.0

Released on 2009-12-11.

Release 0.3.0

Released on 2010-01-25.

Release 0.4.0

Released on 2010-04-19.

Release 0.5.0

Released on 2010-10-03.

Release 0.6.1

Released on 2011-07-06.

Release 0.7.0

Released on 2011-07-28.

Release 0.7.1

Released on 2011-08-03 13:17 by arjan.

Release 0.7.2

Released on 2011-12-11 19:51 by arjan.

Release 0.7.3

Released on 2011-12-14 14:43 by arjan.

Release 0.7.4

Released on 2012-01-10 14:44 by arjan.

Release 0.7.5

Released on 2012-03-11 09:04 by arjan.

Release 0.8.2

Released on 2012-10-30 11:48 by arjan.

Release 0.9.0

Welcome Zotonic 0.9.0, released on December 17, 2012. These notes list the most important changes for this new feature…

Release 0.9.1

Released on 2013-03-14 19:31 by arjan.

Release 0.9.3

Released on 2013-09-21 09:37 by arjan.

Release 0.9.5

Released on 2014-04-18 16:55 by arjan.

Release 0.10.0

Welcome Zotonic 0.10.0, released on April 18, 2014. These notes list the most important changes for this new feature…

Release 0.10.1

Released on 2014-06-17 20:27 by arjan.

Release 0.10.2

Released on 2014-10-01 20:16 by arjan.

Release 0.11.1

Released on 2014-10-20 22:47 by arjan.

Release 0.12.0

Welcome Zotonic 0.12.0, released on October 8, 2014.

Release 0.12.1

Released on 2014-10-20 17:01 by arjan.

Release 0.12.3

Released on 2014-12-22 10:30 by mworrell.

Release 0.13.0

Welcome Zotonic 0.13.0, released on July 3, 2015.

Release 0.13.1

Welcome Zotonic 0.13.1, released on July 29, 2015.

Release 0.13.2

Welcome Zotonic 0.13.2, released on August 11, 2015.

Release 0.13.3

Welcome Zotonic 0.13.3, released on September 9, 2015.

Release 0.13.4

Welcome Zotonic 0.13.4, released on September 16, 2015.

Release 0.13.5

Welcome Zotonic 0.13.5, released on October 27, 2015.

Release 0.13.6

Welcome Zotonic 0.13.6, released on December 14, 2015.

Release 0.13.7

Welcome Zotonic 0.13.7, released on 1 February, 2016.

Release 0.13.8

Welcome to Zotonic 0.13.8, released on 29 February, 2016.