Text
Foldr for an resource insert, these are the initial properties and will overrule the properties in the insert request.
The m_acl model gives access the id of the currently logged in user, and provides a mechanism to do basic access…
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.
Shows the dialog to mail the current page ( resource) to a mailing list. This is used in the admin “mailing status”…
Shows the dialog to mail the current page ( resource) to a single e-mail address. This is used in the frontend of a…
dialog_mail_page dialog_mailing_page mailing_page_test mailinglist_confirm mailinglist_unsubscribe
Implements a basic contact form, which gets emailed to the configuration value mod_contact.email , when submitted.
It is possible to put Zotonic behind the nginx <http://nginx.org/> web server, for example if you have other, non
Running on Port 80 and Port 443
Using standard ports helps visitors discover your page and removes the awkward port number from URLs.
Not yet documented.
Delete a resource, without confirmation.
mod_export - Fetch the header for the export.
mod_export - Fetch the footer for the export. Should cleanup the continuation state, if needed.
mod_export - return the {ok, Filename} for the content disposition.
mod_export - Encode a single data element.
mod_export - fetch a row for the export, can return a list of rows, a binary, and optionally a continuation state.
export_resource_content_disposition
mod_export - return the {ok, Disposition} for the content disposition.
An external feed delivered a resource. First handler can import it. Return:: {ok, m_rsc:resource_id()} , {error
Find an import definition for a CSV file by checking the filename of the to be imported file.
import_csv_definition import_resource export_resource_content_disposition export_resource_content_type…
Enables redirects from unknown hosts and paths to other locations. The other location can be a known path or another…
Not yet documented.
Not yet documented.
Not yet documented.
Used to map IP addresses to geographical locations.
Maps an IP address to a country using the MaxMind GeoIP2 database.
Centers the value in a field of a certain width using spaces.
Justifies the value in a field of a certain width to the right, using spaces.
Justifies the value in a field of a certain width to the left, with spaces.
Retrieve information that is stored in the site configuration. If you want to query values from the config table…
Returns the last character or element.
Notification to signal an inserted comment. ‘comment_id’ is the id of the inserted comment, ‘id’ is the id of the…
Add a $(..).focus() jQuery call to the target element to give it input focus.
Used in the admin to fetch the possible blocks for display
Fetch the nth tail of a list.
Returns the first character or element.
Returns a list of tokens from input string, separated by the characters in the filter argument.
Add support for editing the site’s configuration values, as accessed through m_config.
Make a generated URL absolute, optionally called after url_rewrite by z_dispatcher
Notification to translate or map a file after upload, before insertion into the database Used in mod_video to queue…
Adds wysiwyg tinyMCE editors to the admin.
Zotonic has built-in support for HTTPS and TLS (previously SSL) certificate handling.
Request certificates from Let’s Encrypt.
The mod_ssl_ca module adds support for using SSL certificates bought from a Certificate Authority.
This module adds rule-based access control.
Check if an input has been filled in or checked.
Performs a custom server side validation of an input value. This allows you to add your own validation logic to HTML…
Numerical input and range check.
A validator to check whether a resource’s name is unique:
Regular expression test.
Check if the content of the input field is an e-mail address.
Validate input date against a given date format.
Check if two inputs are the same.
Check if an input value evaluates to true.
Implements a basic commenting system, enabling commenting on resources.
Show an integer value.
Show an integer or float.
Show a price with decimals.
Media update done notification. action is ‘insert’, ‘update’ or ‘delete’
Makes media resources from embeddable URLs through the OEmbed protocol.
Confirm a mailinglist subscription. Required argument is the confirm_key .
Request to generate a HTML media viewer for a resource
Implements rate limiting for various resources.
First to check for password reset forms, return undefined, ok, or {error, Reason}.
Check the length of a text input.
Zotonic has two places where a site’s configuration is kept:
This chapter describes the configuration options for your sites. There’s also global configuration.
Open a dialog to create a new configuration key/value pair.
Open a dialog to edit a configuration key/value pair.
Open a dialog that asks confirmation to delete a configuration key/value pair.
Toggle a configuration value. Used in the admin, for instance when displaying a “live” checkbox the state of which…
Trigger the deletion of a configuration value. Used in the admin.
config_delete config_toggle dialog_config_delete dialog_config_edit dialog_config_new
Provides a generic framework to export resources.
Dispatch rules Name Path Resource Args export_rsc [“export”,”rsc”] controller_export_resource [] export_rsc…
Released on 2009-11-13.
Released on 2009-12-11.
Released on 2010-01-25.
Released on 2010-04-19.
Released on 2010-10-03.
Released on 2011-07-06.
Released on 2011-07-28.
Released on 2011-08-03 13:17 by arjan.
Released on 2011-12-11 19:51 by arjan.
Released on 2011-12-14 14:43 by arjan.
Released on 2012-01-10 14:44 by arjan.
Released on 2012-03-11 09:04 by arjan.
Released on 2012-10-30 11:48 by arjan.
Welcome Zotonic 0.9.0, released on December 17, 2012. These notes list the most important changes for this new feature…
Released on 2013-03-14 19:31 by arjan.
Released on 2013-09-21 09:37 by arjan.
Released on 2014-04-18 16:55 by arjan.
Welcome Zotonic 0.10.0, released on April 18, 2014. These notes list the most important changes for this new feature…
Released on 2014-06-17 20:27 by arjan.
Released on 2014-10-01 20:16 by arjan.
Released on 2014-10-20 22:47 by arjan.
Welcome Zotonic 0.12.0, released on October 8, 2014.