Reference
Removes whitespace between HTML tags.
Add an AJAX activity indicator.
Splits the filter value into a list of values.
This filter split a list in shorter lists. It splits an array in N sub-arrays of more or less equal length. This is…
Model for Let's Encrypt status information, available to administrators.
Translates atoms, integers and floats to strings. The undefined value is translated to the empty string. Does not…
append capfirst center filesizeformat format_duration format_integer format_number format_price insert is_valid_email…
Removes all HTML tags from the value.
Subtracts a day from a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Subtracts an hour from a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Submits the enclosing form, a specifically targeted form or the closest form to an element.
Subtracts a month from a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Subtracts a week from a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Subtracts a year from a date. The value must be of the form {{Y,M,D},{H,I,S}} .
Sum a list of numbers.
Extract a summary from a resource.
survey_answer_split survey_any_correct_answer survey_any_wrong_answer survey_as_pages survey_is_stop survey_is_submit…
Model for survey reporting and participant state, including results, totals, per-user answers, exports, and result…
Dispatch rules Name Path Resource Args survey_results_download [“survey”,”results”,”download”,id]…
Filter to split multi-value survey answers on the '#' character.
Determine if any answer of a question was correct. Used for showing results of thurstone test questions.
Determine if any answer of a question was wrong. Used for showing results of thurstone test questions.
Split the page blocks into pages, prepare them for easy display in the survey question editor.
Check if a list of questions contains a pagebreak block with an unconditional submit.
Check if the given survey is configured to save intermediate results. Always returns a boolean value.
Check if there is a ‘stop’ question in list of (survey) blocks
Check if the questions end with a question type that is a submit button.
survey_get_handlers survey_is_allowed_results_download survey_is_submit survey_submit survey_result_columns…
Check the list of blocks and collect all options for that page.
Used by the survey module to add extra column values to the result editor.
Model for saving and retrieving intermediate survey answers for users. There can only be a single intermediate result…
Show the first page for a given survey (with the id parameter):
Counts the total of all points that can be received for all test questions. Non test questions are not counted.
Note
Make a HTML element into a tab set.
Fetch the tail of a list.
Render a template. When used in a postback action, the result will be sent back with the response data for the postback.
Model for dynamic template rendering. It renders a template path passed in the request path and returns the rendered…
template
Not implemented, but exists in Zotonic for forward compatibility with future ErlyDTL and Django versions.
Creates a temporary resource if its input value is not defined.
Dispatch rules Name Path Resource Args hello_world [“test”,”hello_world”] controller_hello_world []…
Adding a site to Zotonic is done through the zotonic shell command. It syntax is like this:
Show a readable version of a date/time difference.
Simple read-only interface to the typed key-value store of mod_tkvstore. To get a value from the store: use m.tkvstore.
Convert the input to a binary value.
Convert the input to a boolean value.
Filter to derive a Table Of Contents from a HTML body.
Toggle the visibility of an element.
Toggle a CSS class from an HTML element.
Convert the input to an integer value.
Display any value as in JSON (JavaScript Object Notation).
Returns a list of tokens from input string, separated by the characters in the filter argument.
Map a string to a name . That is a lowercased string with only [a-z0-9_] characters.
See also
See also
Filters all empty translations from a property.
Return a list of all languages present in the given translated text ( #trans{} record).
Translates a (English) value to the current language or the given language.
is_rtl language language_dir language_sort language_sort_localized media_for_language set_url_language trans_languages…
Lookup a specific translation in a translated text. If the text is not translated then the text is returned as-is.
The m_translation model gives easy access to language and translation related information.
Trigger a named \{% wire %\} with an action. All args will be args to the named wire. The trigger’s name argument is…
Removes whitespace at the start and end of a string.
Truncate a text to a maximum length.
Truncate a text to a maximum length in characters.
Truncate a HTML text to a maximum length.
element
Show possible selections whilst typing.
Removes HTML escaping from a text.
Remove an edge between two resources. Used in the admin.
Removes a mask that was placed over an element using the mask action.
Updates the content of an HTML element with a template or a literal HTML text.
Note
Translates the value to upper case.
Generate the URL for a named dispatch rule. In this way it is possible to automatically change the generated URLs when…
Generates the relative URL for the given dispatch information.
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…
See also
See also
auth_disconnect delete_username dialog_delete_username dialog_set_username_password dialog_user_add logoff…
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…
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.
Assign a complex value to a variable.
Apply actions with arguments added.
Remove the items given in the argument from the filter value.