Reference

All Reference

DOM Elements

add_class animate buttonize effect fade_in fade_out hide insert_after insert_before insert_bottom insert_top…

draggable

Mark a html element as draggable.

droppable

Mark an element as valid drag destination.

edge

See also

Edge notifications

edge_delete edge_insert edge_update

Editor

editor_add editor_remove zlink zmedia zmedia_choose zmedia_has_chosen

editor_add

Add WYSIWYG editor controls to all textarea’s with the z_editor class in the target.

editor_remove

Remove any WYSIWYG editor controls from all textarea’s with the z_editor class in the target.

editor_tinymce

Not yet documented.

effect

Add a $(..).effect jQuery call to the target element.

element

See also

email

See also

email_dkim

DomainKeys Identified Mail Signatures (RFC 6376) is a method to add a signature to outgoing emails. This enables…

E-mail notifications

email_add_handler email_bounced email_dkim_options email_drop_handler email_ensure_handler email_failed…

email_receive_recipient

Not yet documented.

email_relay

Not yet documented.

email_status

Tracks the send/bounce/error status of all outgoing emails.

enable

See also

Encryption

md5 sha1

eq_day

See also

escape

See also

escape_ical

See also

escapejs

See also

escapejson

See also

escape_link

See also

escapexml

Escape the value for insertion in xml output.

event

Bind actions to a jQuery event or submit a form.

Events

postback trigger_event publish

exclude

See also

extends

See also

facebook

Not yet documented.

fade_in

See also

fade_out

See also

filesizeformat

This filter formats a numeric value as KB, MB etc. This filter can be used to display a number of bytes in a human…

filestore

The filestore uses two tables for its administration.

fileuploader

Model to start uploads, upload a block and delete uploads.

filter

See also

filter

Filter the contents of a block through variable filters.

first

See also

firstof

Not implemented, but exists in Zotonic for forward compatibility with future ErlyDTL and Django versions.

flatten_value

Flatten a list to a comma separated string.

focus

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

for

Loop over multiple values in a list or search result.

format

See also

format_dispatch_controller_option

Format dispatch controller options.

format_dispatch_path_element

Format dispatch path element so variables will be more visible.

form_reset

Resets the target form to its initial state.

Forms

pickle

Forms

disable enable event focus form_reset reset set_value submit typeselect validation_error

from_json

Parse a string as a JSON (JavaScript Object Notation) value. The returned value can be processed futher.

Global configuration

This section describes the location and contents of Zotonic’s global configuration files erlang.config and zotonic.

Global template variables

These variables are always available for rendering in templates.

google_chart

Make charts with Google.

gravatar_code

Calculate the gravatar code for an e-mail address:

group_by

Groups items of a list by a property.

growl

See also

hasedge

A validator to check if a resource has a certain number of edges with a predicate.

hide

See also

hierarchy

The category hierarchy tables have been replaced by m_hierarchy . This model defines named hierarchies of resources…

HTML

show_media striptags truncate_html sanitize_html sanitize_url urlize embedded_media without_embedded_media render…

identity

See also

if

See also

if

See also

ifchanged

Not implemented, but exists in Zotonic for forward compatibility with future ErlyDTL and Django versions.

ifequal

See also

ifnotequal

See also

image

See also

image_edit

See also

image_url

See also

import_csv_data

Not yet documented.

Import/export notifications

import_csv_definition import_resource export_resource_content_disposition export_resource_content_type…

include

See also

index_of

See also

in_future

See also

inherit

See also

inject_recipientdetails

Adds recipient query string details to hyperlinks.

in_past

See also

inplace_textbox

Render a JS-aided inplace textbox.

insert

See also

insert_after

Insert the result of a render action after of an HTML element.

insert_before

Insert the result of a render action before an HTML element.

insert_top

See also

Installation requirements

Zotonic runs on Linux, Mac OS X and (not officially) on Windows.

ip2country

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

ip2geo

Maps an IP address to information about that country.

is_a

See also