Text
Combine css and javascript includes in a single request.
Adds javascript that will be run after jQuery has been initialized. In dynamic content it will run after the DOM has…
Include the markup of an extended template into the extending template.
Generate the url of a still image.
Generate a data: url of a still image.
Show a block when two values are not equal.
Show a block when two values are equal.
Not implemented, but exists in Zotonic for forward compatibility with future ErlyDTL and Django versions.
Show a block if the condition is true.
Loop over multiple values in a list or search result.
Not implemented, but exists in Zotonic for forward compatibility with future ErlyDTL and Django versions.
Filter the contents of a block through variable filters.
Rotate through a list of values.
Ignore part of a template.
Call an Erlang function.
Cache a frequently used block for later reuse.
Automatically apply HTML escaping to values.
Call all modules to include a certain template.
Include a template for all a resource’s categories from all modules.
Modules are the building blocks of Zotonic. They add functionality to your Zotonic website such as:
Templates are text files marked up using the Zotonic template language. Zotonic interprets that mark-up to dynamically…
Released on 2014-12-18 17:01 by mworrell.
Add a handler for receiving e-mail notifications
Set #context fields depending on the user and/or the preferences of the user.
Inherit markup from like named template in another module.
Inherit markup from another template.
Define a block in a template and overrules a block from an inherited template.
Select an element from a tuple or list of tuples.
element
Signs outgoing e-mails with DomainKeys Identified Mail Signatures ( RFC 6376).
Convert the image markers in HTML from the Rich Text editor into image tags.
Show a still image using an <img> element. The image will be automatically resized to the desired size and filters. For…
Convert a value to an Erlang atom.
Updates the content of an HTML element with a template or a literal HTML text.
Inserts HTML before the contents of an HTML element.
Insert the result of a render action before an HTML element.
Insert the result of a render action after of an HTML element.
Inserts HTML after the contents of an HTML element.
Return the menu to be displayed with a resource.
Extending the admin menu See m_admin_menu on how to extend the admin menu.
The admin controller is the main controller behind which admin pages are served. Its main purpose is that it does an…
Support for storing uploaded and generated images and documents on external services.
Dispatch rules Name Path Resource Args admin_filestore [“admin”,”filestore”] controller_admin [{template
Connect actions and events to a HTML element.
Include another template. The include tag is replaced with the contents of the included template file. You can give…
Include another template based on the category of a resource. The include tag is replaced with the contents of the…
MQTT is a machine-to-machine (M2M)/“Internet of Things” connectivity protocol. It was designed as an extremely…
Live updating templates connected to MQTT topics.
Confirm a user id.
Adds recipient query string details to hyperlinks.
inject_recipientdetails mailinglist_recipient_key_decode
This chapter describes how to configure your Linux server for running Zotonic.
Zotonic comes with a system for collecting and exporting metrics (such as how much memory is used, how many database…
Welcome to Zotonic 0.29.0, released on 5 June, 2017.
Adds the concept of survey resources: user-definable forms which can be created in the admin interface and filled out…
Split the page blocks into pages, prepare them for easy display in the survey question editor.
Save the menu tree of a menu resource
Translates atoms, integers and floats to strings. The undefined value is translated to the empty string. Does not…
Convert the input to a binary value.
mod_export - Check if the resource or dispatch is visible for export.
Returns a random value from a list of values. When the input is an empty list or not a list then the result is…
Generates a random number. The number is from, and including, 1 up to, and including, the input value.
Shuffle a list of values.
Server side storage for the client (aka browser) and server.
This module contains the main Zotonic authentication mechanism. It contains the logon and logoff controllers, and…
Dispatch rules Name Path Resource Args logoff [“logoff”] controller_logoff [] logon [“logon”] controller_template…
Released on 2012-08-11 16:36 by arjan.
Actions, tags (also known as screen components), and javascript for user interfaces using wires .
There are multiple ways to set up interaction between server-side Zotonic code and client-side JavaScript.
This tag is the placeholder where all generated JavaScript scripts will be output on the page.
Show the contents of a value expression.
Formats a date or datetime according to the format specified in the argument.
Access information about page connections.
mod_base is the base module, which acts as a container module holding most of Zotonic basic dispatch rules, Actions and…
Similar to group_firstchar, but always uses the title column from the rsc table.
Group a list of sorted resource ids on their first letter of the title or another rsc property. After grouping, it…
Creates a sitemap.xml file for your site, containing links to all publicly accessible pages.
Show a page menu.
For the benefit of search engines and fans of tables of contents you can easily provide a site map.
Adds support for the Twitter Bootstrap CSS / JavaScript framework.
Create nested navigation menus for your site.
Dispatch rules Name Path Resource Args admin_menu_hierarchy [“admin”,”hierarchy”,name] controller_admin [{template
This model tracks deleted resources (see m_rsc). Its primary goal is to be able to determine if a resource never…
The m_identity model manages usernames and other user identities. mod_authentication uses it to store and check salted…
Access to data about uploaded files and other media.
This model can retrieve information about the resource category hierarchy in different ways.
Search uses database indices on special pivot columns and full text fields.
Search can only sort and filter on resources that actually have a database column. Zotonic’s resources are stored in a…
Resources can have media resources attached to them. Resources and their media (images, video and audio) are connected…
Action An action is functionality that can be attached to a HTML element or event. Actions are wired to an element or…
The main resource model, which is the central part of the Zotonic data model. This model provides an interface to all…
Zotonic’s data model is a pragmatic implementation of the Semantic Web: a mixture between a traditional database and a…
Resources are Zotonic’s main data unit. You may want to familiarise yourself with the Zotonic data model in the User…
Set the context to a typical authenticated user. Used by m_acl.erl
At different moments in the lifecycle of the web request, Zotonic sends notifications. By observing these notifications…
Signal that a resource pivot has been done.