Text

All Text

upper

Translates the value to upper case.

animate

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

Debugging db (query) issues

Techniques for finding root cause when queries are involved.

postback_event

Message sent by a user-agent on a postback event. Encapsulates the encoded postback and any additional data. This is…

observe_mailinglist_mailing/2

Send a page to a mailinglist (notify) Use \{single_test_address, Email\} when sending to a specific e-mail address.

Forms and validation

You should validate all input data entered in forms. In Zotonic you create forms by writing plain HTML. You can attach…

custom

Support for custom client-side (JavaScript-based) validators.

growl

Show a message in the upper right corner of the browser window. The message will automatically disappear after some…

Enabling Growl Notifications

Using growl outside admin requires some magic to make it work.

remove

Remove an element from the page.

mod_import_csv

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

dispatch

Dispatch rules Name Path Resource Args admin_import [“admin”,”import”] controller_admin [{template,”_admin_import.

dialog_duplicate_rsc

Open a dialog to duplicate the current resource with a new id and title.

Docker

We offer the Docker image zotonic/zotonic-dev which contains build tools and Erlang.

mod_translation

This module provides support for dealing with multiple languages.

Translation

Many sites need to support content and templates in multiple languages. Luckily, Zotonic is completely multilingual

unlink

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

link

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

observe_acl_logoff/2

Clear the associated access policy for the context.

0.41.0

Welcome to Zotonic 0.41.0, released on 1 October, 2018.

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

Select an element from a tuple or list of tuples.

Tuples

element

mod_email_dkim

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

show_media

Convert the image markers in HTML from the Rich Text editor into image tags.

image

See also

template

Model for dynamic template rendering. It renders a template path passed in the request path and returns the rendered…

as_atom

Convert a value to an Erlang atom.

update

Updates the content of an HTML element with a template or a literal HTML text.

insert_top

Inserts HTML before the contents of an HTML element.

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.

insert_bottom

Inserts HTML after the contents of an HTML element.

menu_rsc

Return the menu to be displayed with a resource.

mod_admin

Admin backend module that wires the core admin interface, assets, and admin-specific event handling.

controller_admin

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

mod_filestore

Support for storing uploaded and generated images and documents on external services.

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