Documentation
script
See also
Trigger various jQuery effects on the target element. Mostly, each of these effects have their own action as a shortcut
Todo
These Cookbook items each represent a stage in some Zotonic users’ journeys to understand the workings of Erlang and…
Just enough Erlang/OTP and rebar, part 1
Zotonic source code have you scratching your head? Learn Rebar first.
Just enough Erlang/OTP and rebar, part 2
Building a gen_server to front the library and generating documentation.
An indispensible tool for both learning and programming Erlang.
Understand the primary data-store of Zotonic.
Just Enough Regular Expressions (in Erlang)
Learn how to manipulate string data with the re module.
Not yet documented.
See also
Return rtl or ltr depening on the direction of the language.
Sort a list of language codes or map with languages on their sort key. Return a list of {Code, LanguageProps} pairs.
Sort a list of language codes or map with languages on their localized name in the currently selected language. This is…
See also
Custom tag which adds a ‘loader’ image to the page and performs a one-time action when loader comes into view.
Returns the length of the value.
See also
See also
See also
See also
Not yet documented.
after before chunk exclude filter first flatten_value group_by index_of is_list join last length make_list member…
Live updating templates connected to MQTT topics.
See also
See also
Not yet documented.
Not yet documented.
Escapes and formats a Javascript string with a stack trace to readable HTML.
Zotonic uses Logger for logging. Logger metadata is automatically set by Zotonic in the controller functions.
Logstash is often used for log centralization and analysis. This cookbook describes how to set up Zotonic for logging…
This action logs off the current user and reloads the current page as the anonymous visitor.
Not yet documented.
Inserts a piece of “lorem ipsum” text into the page.
See also
dialog_mail_page dialog_mailing_page mailing_page_test mailinglist_confirm mailinglist_unsubscribe
inject_recipientdetails mailinglist_recipient_key_decode
Not yet documented.
Confirm a mailinglist subscription. Required argument is the confirm_key .
mailinglist_recipient_key_decode
Used on the mailing list subscriptions page where users and recipients can unsubscribe from mailinglists.
Show the mailinglist subscription form to subscribe to a certain mailinglist id.
Cancel a mailing list subscription. The recipient id is given with the id argument.
Post a message to the test mailing list, given with the id argument.
Forces the value to a list.
Todo
Managing redirection after login and signup
Configure mod_signup to redirect to something other than a member’s home page.
See also
Sets the progress bar of a mask.
Match a value with a regular expression.
See also
Translates a string to a md5 hex value.
Resources can have media resources attached to them. Resources and their media (images, video and audio) are connected…
Access to data about uploaded files and other media.
See also
Use Media classes to define image properties.
See also
Notification to translate or map a file after upload, before insertion into the database Used in mod_video to queue…
media_identify_extension media_identify_file media_import media_import_medium media_preview_options media_import_props…
Finds a value in a list.
Show a page menu.
menu_flat menu_ids menu_is_visible menu_expand menu_rsc menu_subtree menu_trail
Takes a menu, or a menu resource id, and adds all haspart objects connected to the menu ids.
See also
See also
Filters a list of menu items on visibility and existance. Only top-level menu items that are both visible and exist are…
Return the menu to be displayed with a resource.
See also
See also
A mail-merge like filter where tag-expressions in a text are replaced with the value of their evaluation.
Check with useauth if the authentication using the Microsoft identity platform is enabled and configured.
See also
See also
gravatar_code ip2country ip2geo is_letsencrypt_valid_hostname format_dispatch_controller_option…
Mocking module for access control during tests.
See also
Todo
Note
Add support for editing the site’s configuration values, as accessed through m_config.
Note
Provides identity management in the admin - for example the storage of usernames and passwords.
Adds functonality to merge two pages together into a single page.
Adds support in the admin for activating and deactivating modules.
Add support for editing predicates in the admin, by presenting a list of all defined predicates on http://yoursite.com…
Todo
This module contains many useful icons and images.
See also
Todo
This module contains the main Zotonic authentication mechanism. It contains the logon and logoff controllers, and…
mod_backup serves two different purposes: it makes a nightly backup of your files and database, and can also backup…
See also
Adds support for the Twitter Bootstrap CSS / JavaScript framework.
Uses clamd to scan all uploaded files for viruses.
Implements a basic commenting system, enabling commenting on resources.
Implements a basic contact form, which gets emailed to the configuration value mod_contact.email , when submitted.
See also
Wrap external content in such a way that it is only loaded if the user consented to the inclusion of the content (and…
Todo
Provides periodic events and scheduling of regular module specific jobs.
See also