Documentation
See also
Escape the value for insertion in xml output.
Bind actions to a jQuery event or submit a form.
postback trigger_event publish
See also
Execute tasks asynchronously using the task queue
The Zotonic task queue lets applications perform tasks asynchronously.
Zotonic comes with a system for collecting and exporting metrics (such as how much memory is used, how many database…
See also
Not yet documented.
See also
See also
This filter formats a numeric value as KB, MB etc. This filter can be used to display a number of bytes in a human…
The filestore uses two tables for its administration.
Model to start uploads, upload a block and delete uploads.
Filter the contents of a block through variable filters.
See also
Applying Erlang Binary syntax to get fast character manipulation.
See also
Not implemented, but exists in Zotonic for forward compatibility with future ErlyDTL and Django versions.
See also
Flatten a list to a comma separated string.
Add a $(..).focus() jQuery call to the target element to give it input focus.
Loop over multiple values in a list or search result.
See also
See also
format_dispatch_controller_option
Format dispatch controller options.
Format dispatch path element so variables will be more visible.
See also
See also
See also
See also
Resets the target form to its initial state.
pickle
disable enable event focus form_reset reset set_value submit typeselect validation_error
You should validate all input data entered in forms. In Zotonic you create forms by writing plain HTML. You can attach…
Parse a string as a JSON (JavaScript Object Notation) value. The returned value can be processed futher.
These cookbook entries contain valuable nuggets of information regarding the frontend development of a site.
You have three options for running Zotonic: to get started quickly, start our Zotonic container. You can also use Nix…
This section describes the location and contents of Zotonic’s global configuration files erlang.config and zotonic.
These variables are always available for rendering in templates.
Action An action is functionality that can be attached to a HTML element or event. Actions are wired to an element or…
Make charts with Google.
Calculate the gravatar code for an e-mail address:
Groups items of a list by a property.
See also
See also
See also
A validator to check if a resource has a certain number of edges with a predicate.
See also
The category hierarchy tables have been replaced by m_hierarchy . This model defines named hierarchies of resources…
How to add a custom page block
Zotonic comes with a number of standard page blocks: Header, Text and Embed page. Additional page blocks are provided…
Specific error pages Zotonic’s controller_http_error first tries to find an error page template that is specific for…
show_media striptags truncate_html sanitize_html sanitize_url urlize embedded_media without_embedded_media render…
Zotonic has built-in support for HTTPS and TLS (previously SSL) certificate handling.
Including Zotonic icons CSS Add the CSS file to your template:
Zotonic provides a couple of ways to show icons in templates:
See also
See also
See also
Not implemented, but exists in Zotonic for forward compatibility with future ErlyDTL and Django versions.
See also
See also
See also
See also
See also
See also
See also
Implementing a simple contact form
This tutorial teaches you to create a form, validate it, submit it over Ajax and e-mail the results back to you.
Not yet documented.
import_csv_definition import_resource export_resource_content_disposition export_resource_content_type…
See also
See also
See also
See also
Adds recipient query string details to hyperlinks.
See also
Render a JS-aided inplace textbox.
See also
Insert the result of a render action after of an HTML element.
Insert the result of a render action before an HTML element.
See also
See also
Zotonic runs on Linux, Mac OS X and (not officially) on Windows.
This is the Zotonic Developer Guide. It takes you through all aspects of Zotonic so you can start building your own…
Maps an IP address to a country using the MaxMind GeoIP2 database.
Maps an IP address to information about that country.
See also
See also
Test if an integer value is even:
See also
Test if a value is a list:
See also
Test if a value is a number (integer or floating point):
See also
See also
If you encounter any issues in using Zotonic, or have ideas for new features, please let us know at the Zotonic issue…
See also
Todo
See also
Adds javascript that will be run after jQuery has been initialized. In dynamic content it will run after the DOM has…