Text

All Text

wire_args

Add extra arguments to wired actions.

validate

The validator tag accepts the following arguments:

tabs

Make a HTML element into a tab set.

spinner

Add an AJAX activity indicator.

sorter

A sorter is a container for sortables.

sortable

Mark an element as sortable.

poll

Show a given survey (with the id parameter) as a “poll”. This presents a simpler interface, in which the user is…

pager

Show a pager for search results.

mailinglist_subscribe

Show the mailinglist subscription form to subscribe to a certain mailinglist id.

loremipsum

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

lazy

Custom tag which adds a ‘loader’ image to the page and performs a one-time action when loader comes into view.

inplace_textbox

Render a JS-aided inplace textbox.

google_chart

Make charts with Google.

droppable

Mark an element as valid drag destination.

draggable

Mark a html element as draggable.

debug

Shows which variables are assigned for use in the current template’s scope:

chart_pie3d

Show a pie chart with 3D effect.

chart_pie

Show a pie chart.

button

Makes a button with an action attached.

with

Assign a complex value to a variable.

url

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

trans_ext

See also

trans

See also

templatetag

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

spaceless

Removes whitespace between HTML tags.

regroup

Not implemented tag, for forward compatibility with future ErlyDTL and Django versions.

raw

Make a literal section which does not interpret tags.

now

See also

media

See also

load

See also

lib

See also

javascript

Adds javascript that will be run after jQuery has been initialized. In dynamic content it will run after the DOM has…

inherit

See also

image_url

See also

ifnotequal

See also

ifequal

See also

ifchanged

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

if

See also

for

Loop over multiple values in a list or search result.

firstof

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

filter

Filter the contents of a block through variable filters.

cycle

Rotate through a list of values.

comment

Ignore part of a template.

call

Call an Erlang function.

cache

Cache frequently used rendered template output for later reuse.

autoescape

Automatically apply HTML escaping to values.

all_include

See also

Modules

Modules are the building blocks of Zotonic. They add functionality to your Zotonic website such as:

Templates

Templates are text files marked up using the Zotonic template language. Zotonic interprets that mark-up to dynamically…

0.12.2

Released on 2014-12-18 17:01 by mworrell.

observe_email_ensure_handler/2

Add a handler for receiving e-mail notifications

observe_user_context/3

Set #context fields depending on the user and/or the preferences of the user.

overrules

See also

extends

See also

block

See also

element

See also

Tuples

element

mod_email_dkim

Signs outgoing e-mails with DomainKeys Identified Mail Signatures ( RFC 6376).

show_media

See also

image

See also

as_atom

Convert a value to an Erlang atom.

update

See also

insert_top

See also

insert_before

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

insert_after

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

menu_rsc

Return the menu to be displayed with a resource.

controller_admin

The admin controller is the main controller behind which admin pages are served. Its main purpose is that it does an…

dispatch

Dispatch rules Name Path Resource Args admin_filestore [“admin”,”filestore”] controller_admin [{template

wire

Connect actions and events to a HTML element.

include

See also

catinclude

See also

mod_mqtt

MQTT is a machine-to-machine (M2M)/“Internet of Things” connectivity protocol. It was designed as an extremely…

live

Live updating templates connected to MQTT topics.

observe_auth_confirm/3

Confirm a user id.

inject_recipientdetails

Adds recipient query string details to hyperlinks.

Mailing list

inject_recipientdetails mailinglist_recipient_key_decode

Server configuration

This chapter describes how to configure your Linux server for running Zotonic.

Exometer metrics

Zotonic comes with a system for collecting and exporting metrics (such as how much memory is used, how many database…

0.29.0

Welcome to Zotonic 0.29.0, released on 5 June, 2017.

mod_survey

Adds the concept of survey resources: user-definable forms which can be created in the admin interface and filled out…

survey_as_pages

Split the page blocks into pages, prepare them for easy display in the survey question editor.

observe_menu_save/2

Save the menu tree of a menu resource

stringify

See also

to_binary

See also

observe_export_resource_visible/2

mod_export - Check if the resource or dispatch is visible for export.

random

See also

rand

See also

randomize

See also

mod_server_storage

Server side storage for the client (aka browser) and server.

mod_authentication

This module contains the main Zotonic authentication mechanism. It contains the logon and logoff controllers, and…

dispatch

Dispatch rules Name Path Resource Args logoff [“logoff”] controller_logoff [] logon [“logon”] controller_template…

0.08.1

Released on 2012-08-11 16:36 by arjan.