Documentation
Browse by topic
Explore related documentation through its most useful keyword groups.
1435 items
Grouped by Architecture
A named transformation applied to a value inside a template expression.
Explore this clusterA typed event or request exchanged between decoupled Zotonic components through the notifier.
A namespaced interface for retrieving or changing data and invoking operations in Zotonic or browser-side components.
Explore this clusterAn OTP application or site component that adds Zotonic behavior templates data and configuration.
Explore this clusterA server-defined browser action or event binding connected through Zotonic wires.
Explore this clusterA server-side template_compiler document that renders data into HTML text email or another representation.
Explore this clusterA request handler that maps web requests to responses and coordinates authorization rendering or data transfer.
Explore this clusterA route declaration that matches a URL pattern and selects a controller with arguments.
Explore this clusterThe central Zotonic entity that represents content users media categories and other addressable objects.
Explore this clusterDocumentation not covered by the other keyword groups in this split.
Explore this clusterReview the audience and email before the full send.
Check an email with a small, controlled test.
Notify the responsible team and tell respondents their form was received.
Configure the installed Logger handler and verify delivery.
Model for SEO-related settings and generated SEO metadata, including webmaster verification keys, analytics settings, and JSON-LD output.
Make useful pages easy to understand and discover.
Model for sitemap generation metadata, including available urlsets and paged urlset export values.
Terminate public traffic at a reverse proxy while Zotonic stays unprivileged.
Model to access the server side storage of data.
Set the class of an element.
Set a global runtime Zotonic value.
Choose one installation route, start Zotonic, create a site, and make your first visible change.
Adjust group upload limits and test with an ordinary account.
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.
Pass values explicitly and keep browser code in the supported script tag.
Connect an Erlang shell to the running node.
Show an element without any animation.
Use the maintained growl action with the normal browser assets.
Connect one image and render it without constructing inline CSS from input.
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 instead, you should use model#config.
Display a site configuration resolved from files.
List configuration files selected for a site.
This chapter describes the configuration options for your sites. There’s also global configuration.
A site is identified by its application and priv/zotonic_site configuration. Supported formats include Erlang .config, JSON, and YAML; follow the format…
Show a site application directory.
Run site tests using an isolated test schema.
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.
Check how a page looks when its link is shared.
The sort filter takes a list of items to sort. Items can be an ordinary list of terms, property lists, or maps. It can also be a list of resource ids to be…
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 useful when displaying a list of items in…
Group questions and show respondents only the sections they need.
Model for Let's Encrypt status information, available to administrators.
Choose a startup mode for the environment:
Start Zotonic in the foreground without an interactive shell.
Start a selected site on the node.
Start Zotonic in the background.
Use these commands for one named site:
Show node and site state.
Stop one site.
Stop the Zotonic node.
Translates atoms, integers and floats to strings. The undefined value is translated to the empty string. Does not translate tuples.
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.
Model for survey reporting and participant state, including results, totals, per-user answers, exports, and result handlers.
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.
Test whether a survey respondent may return to the previous page in a history.
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.
Check the list of blocks and collect all options for that page.
Prepare the items and options of a survey matching question for rendering.
Parse a survey narrative question into renderable text and input parts.
Normalize a survey Thurstone question before rendering or processing it.
Used by the survey module to add extra column values to the result editor.
Use surveys for feedback, registrations, simple requests, polls, and quizzes.
Model for saving and retrieving intermediate survey answers for users. There can only be a single intermediate result per user/survey or, for anonymous users…
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 output.
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.
Check a rule change before it affects everyone.
Keep domain logic in small functions that accept explicit inputs. Test expected results, boundary values, and meaningful error cases without starting a full…
Check the entire respondent journey before sharing the form.
Run bin/zotonic connectdb to test a connection using the global Zotonic database configuration. It does not open PostgreSQL’s interactive client and has no…
Choose roles that exercise the operation's permission boundary: anonymous visitor, limited editor, and administrator. Use separate browser sessions or an…
Adding a site to Zotonic is done through the zotonic shell command. It syntax is like this:
Know where to find pages, editing controls, and settings.
The checkout is an Erlang umbrella project: one build contains many applications.