Text
This module presents an interface for letting users register themselves.
Request the SSL certificates for this site. The server_name property contains the hostname used by the client. (first…
Move an element to another place, appending it to the target. The element is given by id with the element argument, or…
A module has been activated and started.
Model to access the localStorage on the client (browser).
Reload the current page.
This action redirects the browser to another page or back to the previous page.
redirect reload
Not yet documented.
Map to signal merging two resources. Move any information from the loser to the winner. The loser will be deleted.
Check if a question is a submitting question.
survey_is_allowed_results_download
Check if the current user is allowed to download a survey.
Fetch list of handlers for survey submits.
survey_get_handlers survey_is_allowed_results_download survey_is_submit survey_submit survey_result_columns…
Request API logon
Get a value from the typed key/value store
Push a list of activities via a ‘channel’ (eg ‘email’) to a recipient. The activities are a list of #activity{} records.
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…
Dispatch rules Name Path Resource Args admin_statistics [“admin”,”statistics”] controller_admin_statistics []…
Automatic startup on system boot
Once you have Zotonic running, you want to make sure that it automatically starts up when the server reboots, so that…
Replace the target HTML element by new one.
Show possible selections whilst typing.
First for logon of user with username, called after successful password check.
Not yet documented.
Map a custom search term to a #search_sql_term{} record.
An updated resource has just been persisted. Observe this notification to execute follow-up actions for a resource…
as_atom default if if_undefined is_defined is_undefined make_value pprint to_binary to_integer to_json
is_rtl language language_dir language_sort media_for_language set_url_language trans_languages trans_filter_filled…
append capfirst center filesizeformat format_duration format_integer format_number format_price insert is_valid_email…
filesizeformat format_duration format_integer format_number format_price is_even is_number max min minmax rand round…
gravatar_code ip2country ip2geo is_letsencrypt_valid_hostname format_dispatch_controller_option…
menu_flat menu_ids menu_is_visible menu_expand menu_rsc menu_subtree menu_trail
after before chunk exclude filter first flatten_value group_by index_of is_list join last length make_list member…
show_media striptags truncate_html sanitize_html sanitize_url urlize embedded_media without_embedded_media…
pickle
brlinebreaks escape escape_check escape_ical escape_link escapejs escapejson escapexml fix_ampersands force_escape…
md5 sha1
first last length to_binary
Display any value as in JSON (JavaScript Object Notation).
Provide an alternative value in case a value has a falsy value (0, false , undefined or empty string).
Filters all empty translations from a property.
Sort a list of language codes or map with languages on their name. Return a list of {Code, LanguageProps} pairs.
Return the language the resource (or translated text) will be displayed in.
Check if the given language is a rtl or ltr language.
Truncate a text to a maximum length.
Removes whitespace at the start and end of a string.
Map a string to a name . That is a lowercased string with only [a-z0-9_] characters.
Prepends the argument in front of the value.
Escapes and formats a Javascript string with a stack trace to readable HTML.
Appends the argument to the value.
Convert the input to an integer value.
Round a floating point value to the nearest integer.
Test if an integer value is even:
This filter formats a numeric value as KB, MB etc. This filter can be used to display a number of bytes in a human…
Maps an IP address to information about that country.
Calculate the gravatar code for an e-mail address:
Filters a list of menu items on visibility and existance. Only top-level menu items that are both visible and exist are…
This filter splits a list in shorter lists. It splits an array in N sub-arrays of more or less equal length. This is…
This filter split a list in shorter lists. It splits an array in N sub-arrays of more or less equal length. This is…
The sort filter takes a list of items to sort. Items can be an ordinary list of terms, property lists, or maps. It can…
Generate a list of integers, with an optional step.
Finds a value in a list.
Forces the value to a list.
Test if a value is a list:
Returns the index of the first occurrence of the item in the given list.
Groups items of a list by a property.
Flatten a list to a comma separated string.
Return the first element before another element in a list. For example:
Return the first element after another element in a list. For example:
Find urls in the given input and make them clickable.
Truncate a HTML text to a maximum length.
Pickle an Erlang value so that it can be safely submitted with a form.
Make a text safe for URLs.
Removes HTML escaping from a text.
Translate ASCII newlines ( \n ) into HTML <br /> elements.
Replaces ampersands in the value with “&” entities.
Escape the value for insertion in xml output.
Convert any URLs in a plaintext into HTML links, with adding the rel="nofollow" attribute, and replaces all newlines…
Translate HTML <br/> elements into ASCII newlines ( \n ).
Translate a string to a sha1 hex value.
Translates a string to a md5 hex value.
Returns the length of the value.
Dispatch rules Name Path Resource Args admin_user [“admin”,”users”] controller_admin [{template,”admin_users.tpl”}
Add support for editing predicates in the admin, by presenting a list of all defined predicates on http://yoursite.com…
Show a dialog for creating a new predicate.
Show a dialog for adding a user. This creates a person resource and adds a username / password to it.
Remove the items given in the argument from the filter value.
Render a template. When used in a postback action, the result will be sent back with the response data for the postback.
template
Notification to translate or map a file after upload, before insertion into the database Used in mod_video to queue…
Creating sites Media Best Practices Template Best Practices and Pitfalls
Notification that a medium file has been uploaded. This is the moment to change resource properties, modify the file…
The mod_facebook module plugs into the authentication systen to enable Facebook login on your site.
Not yet documented.
Retrieve information about predicates. Predicates are the labels on edges (connections between resources) that give…
Fetch media ids that are embedded in the body , body_extra and text blocks of your page.
Filter out media ids that are embedded in the body , body_extra and text blocks of your page.