Reference
observe_survey_result_column_values/3
Modify row with answers for export. The header columns are given and the values that are known are set in the folded…
A survey has been filled in and submitted.
Delete a value from the typed key/value store
Get a value from the typed key/value store
Put a value into the typed key/value store
Request a translation of a list of strings. The resulting translations must be in the same order as the request. This…
Make a generated URL absolute, optionally called after url_rewrite by z_dispatcher
Determine the URL fetch options for fetching the content of an URL. Used by z_fetch.erl.
Rewrite a URL after it has been generated using the z_dispatcher
Set #context fields depending on the user and/or the preferences of the user.
Check if a user is enabled. Enabled users are allowed to log in. Return true , false or undefined . If undefined is…
Called just before validation of all query arguments by z_validation.
action_event_type activity activity_send admin_edit_blocks admin_menu admin_rscform category_hierarchy_save…
Closes the currently open overlay. When there is no overlay open then nothing happens.
Renders a template on the server and opens a full screen overlay with the HTML output of the template.
See also
redirect reload
A validator to check whether a resource’s page path is unique:
Show a pager for search results.
Parses an URL (URI) using uri_string:parse/1 .
Pickle an Erlang value so that it can be safely submitted with a form.
pivot_fields pivot_rsc_data pivot_update custom_pivot
Show a given survey (with the id parameter) as a “poll”. This presents a simpler interface, in which the user is…
Port configurations can be tricky, especially in combination with SSL. Here we explain all steps to come to a correctly…
Performs a custom server side validation of an input value. This allows you to add your own validation logic to HTML…
This action sends a message to the event handler on the server.
Message sent by a user-agent on a postback event. Encapsulates the encoded postback and any additional data. This is…
Pretty print a zotonic value in a template.
Retrieve information about predicates. Predicates are the labels on edges (connections between resources) that give…
dialog_predicate_new link unlink
Check if an input has been filled in or checked.
See also
Publishes a message on the topic tree of the current page.
Generates a random number. The number is from, and including, 1 up to, and including, the input value.
Returns a random value from a list of values. When the input is an empty list or not a list then the result is…
Shuffle a list of values.
Generate a list of integers, with an optional step.
Model for exposing current ratelimit timeout information for the active request context.
Make a literal section which does not interpret tags.
Model for RDF summaries of resources. It provides short RDF-oriented summary maps for resources, with translated and…
This action redirects the browser to another page or back to the previous page.
Todo
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.
Render a template.
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.
This model gives access to the request variables from within a template.
Resets the enclosing form, a specifically targeted form or the closest form to an element.
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.
The main resource model, which is the central part of the Zotonic data model. This model provides an interface to all…
Export a full resource representation for API and model access.
This model tracks deleted resources (see m_rsc). Its primary goal is to be able to determine if a resource never…
Import model for resources exported by m_rsc_export .
Resource update helper module used by m_rsc .
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.
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
The m_search model provides access to different kinds of search queries for searching through models.
Model for search subsystem status, including facet table health checks and facet definition metadata.
Model for SEO-related settings and generated SEO metadata, including webmaster verification keys, analytics settings
Model for sitemap generation metadata, including available urlsets and paged urlset export values.
Model to access the server side storage of data.
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 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.
Exported APIs:
Retrieve information that is stored in the site configuration. If you want to query values from the config table…
This chapter describes the configuration options for your sites. There’s also global configuration.
Model for checking if a site has version control enabled.
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.