Documentation
Updates the content of an HTML element with a template or a literal HTML text.
Note
Updating form field from a dialog
Ever wanted to update a form field from a dialog, possibly giving the user some list to choose from? Here’s how to do…
These notes list the most important changes between Zotonic versions. Please read these notes carefully when upgrading…
Translates the value to upper case.
Generates the relative URL for the given dispatch information.
Generate the URL for a named dispatch rule. In this way it is possible to automatically change the generated URLs when…
Generates an absolute URL for the given dispatch information.
Decode a text where characters are encoded as URL-safe characters.
Make a text safe for URLs.
Find urls in the given input and make them clickable.
is_site_url url url_abs sanitize_url is_letsencrypt_valid_hostname urlize escape_link urlencode urldecode parse_url…
The following environment variables influence how Zotonic starts up.
auth_disconnect delete_username dialog_delete_username dialog_set_username_password dialog_user_add logoff…
Welcome to the Zotonic User Guide. This guide is a non-technical introduction to Zotonic.
Create new users In the admin, under ‘Auth’ > ‘Users’ you can find a list of all users. Use the ‘Make a new user’…
Check if an entered username is unique, by looking in the m_identity table for the given username:
identity_password_match identity_verification identity_verified identity_update_done logon_options logon_ready_page…
Using Varnish as frontend for Zotonic
Using the Varnish HTTP frontend, you can speed up your Zotonic even more as this web server caches static files…
Translates a datetime from local time to UTC.
The validator tag accepts the following arguments:
Render a validation error on the target. Text is given in the text argument.
as_atom default if if_undefined is_defined is_undefined make_value pprint to_binary to_integer to_json from_json…
This filter splits a list in shorter lists. It splits an array in N sub-arrays of more or less equal length. This is…
Connect actions and events to a HTML element.
Add extra arguments to wired actions.
Wires are the older way to code actions and client/server interaction. It is now advised to use MQTT topics with…
Assign a complex value to a variable.
Apply actions with arguments added.
Remove the items given in the argument from the filter value.
Filter out media ids that are embedded in the body , body_extra and text blocks of your page.
Todo
Show a boolean value as a text.
Used for inserting an internal link in the TinyMCE editor in the admin.
Used for triggering the insertion of a media item in the TinyMCE editor in the admin.
Used after a media item is selected in the media chooser for the TinyMCE editor.
Used by the admin as a callback when a media file has been selected for insertion into the rich-text editor.
Model for system-wide site status information.