Reference
Generate a list of integers, with an optional step.
Make a literal section which does not interpret tags.
This action redirects the browser to another page or back to the previous page.
All the nitty gritty details when the big picture has settled.
Not implemented tag, for forward compatibility with future ErlyDTL and Django versions.
match replace
Reload the current page.
Remove an element from the page.
Remove a CSS class from an HTML element.
Replace the target HTML element by new one.
Regular expression replacement of a pattern with a string.
Replace $N placeholders in string from a list of replacement values.
Refresh the context or request process for the given request or action Called for every request that is not anonymous…
Resets the enclosing form, a specifically targeted form or the closest form to an element.
Let all modules add resource specific response headers to the request. The accumulator is the list of headers to be set.
group_firstchar group_title_firstchar is_a is_not_a is_visible media_for_language
rsc_delete rsc_get rsc_import_fetch rsc_insert rsc_merge rsc_pivot_done rsc_query_item rsc_update rsc_update_done…
admin_merge_diff content_type_label content_type_urls summary temporary_rsc
delete_media delete_rsc dialog_delete_rsc dialog_duplicate_rsc dialog_edit_basics dialog_media_upload dialog_new_rsc…
Reverse a list.
Justifies the value in a field of a certain width to the right, using spaces.
Round a floating point value to the nearest integer.
Round a number value to a number of significant digits. The significance defaults to two digits.
Resource will be deleted. This notification is part of the delete transaction, it’s purpose is to clean up associated…
Resource is read, opportunity to add computed fields Used in a foldr with the read properties as accumulator.
Fetch the data for an import of a resource. Returns data in the format used by m_rsc_export and m_rsc_import. Either…
Foldr for an resource insert, these are the initial properties and will overrule the properties in the insert request.
Map to signal merging two resources. Move any information from the loser to the winner. The loser will be deleted.
Signal that a resource pivot has been done.
Send a notification that the resource ‘id’ is added to the query query_id.
An updated resource is about to be persisted. Observe this notification to change the resource properties before they…
An updated resource has just been persisted. Observe this notification to execute follow-up actions for a resource…
Upload and replace the resource with the given data. The data is in the given format.
Sanitize an HTML element.
Sanitize an embed url. The hostpart is of the format: <<"youtube.com/v...">> .
Sanitize a HTML code. Removes elements and attributes that might be dangerous, like <script> elements.
Sanitize an URL. Removes URLs that might be dangerous, like javascript: URLs.
Add extra javascript with the {% script %} tag. (map) Used to let modules inject extra javascript depending on the…
This action executes JavaScript directly. It can be used to interface with non-Zotonic JavaScript libraries and…
This tag is the placeholder where all generated JavaScript scripts will be output on the page.
moreresults
Map a custom search term to a #search_sql_term{} record.
Map a custom search term to a #search_sql_term{} record.
Check and possibly modify the http response security headers All headers are in lowercase.
Request API logon
Refresh the context or request process for the given request or action Called for every request that is not anonymous…
Set the class of an element.
Change the language of an URL to another language. Useful to generate alternative URLs for a page.
Set the language of the context to a user’s prefered language
Set the value of a form field.
Translate a string to a sha1 hex value.
Show an element without any animation.
Convert the image markers in HTML from the Rich Text editor into image tags.
Request a signup of a new or existing user. Arguments are similar to #signup_url{} Returns {ok, UserId} or {error
signup_check Check if the signup can be handled, a fold over all modules. Fold argument/result is {ok, Props
Signal that a user has been confirmed. (map, result is ignored)
Fetch the page a user is redirected to after signing up with a confirmed identity
Signal that a user has been signed up (map, result is ignored)
Signup failed, give the error page URL. Return {ok, Url} or undefined. Reason is returned by the signup handler for the…
Handle a signup of a user, return the follow on page for after the signup. Return {ok, Url} ‘props’ is a map with…
This chapter describes the configuration options for your sites. There’s also global configuration.
Perform array-slice operations on a list or string.
Show an element by animating the height.
Show an element by animating the height and opacity.
Hide an element by animating the height and opacity.
Toggle an element by sliding it up and down.
Hide an element by animating the height.
Converts a text into a slug.
The sort filter takes a list of items to sort. Items can be an ordinary list of terms, property lists, or maps. It can…
Mark an element as sortable.
A sorter is a container for sortables.
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…
Request the SSL certificates for this site. The server_name property contains the hostname used by the client. (first…
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}} .
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…
Dispatch rules Name Path Resource Args survey_results_download [“survey”,”results”,”download”,id]…
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.
Fetch list of handlers for survey submits.
survey_is_allowed_results_download
Check if the current user is allowed to download a survey.
Check if there is a ‘stop’ question in list of (survey) blocks
Check if a question is a submitting question.
survey_get_handlers survey_is_allowed_results_download survey_is_submit survey_submit survey_result_columns…