Text
with_args
Set the value of a form field.
Provides periodic events and scheduling of regular module specific jobs.
Show a boolean value as a text.
yesno
Toggle an element by sliding it up and down.
Sanitize an embed url. The hostpart is of the format: <<"youtube.com/v..."\>\> .
group_firstchar group_title_firstchar is_a is_not_a is_visible media_for_language
observe_media_identify_extension/2
Try to find a filename extension for a mime type (example: <<".jpg"\>\> )
Reverse a list.
Not yet documented.
Resource is read, opportunity to add computed fields Used in a foldr with the read properties as accumulator.
This action executes JavaScript directly. It can be used to interface with non-Zotonic JavaScript libraries and…
Fold for mapping non-iolist output to iolist values.
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.
observe_export_resource_header/2
mod_export - Fetch the header for the export.
observe_export_resource_footer/2
mod_export - Fetch the footer for the export. Should cleanup the continuation state, if needed.
observe_export_resource_filename/2
mod_export - return the \{ok, Filename\} for the content disposition.
observe_export_resource_encode/2
mod_export - Encode a single data element.
observe_export_resource_data/2
mod_export - fetch a row for the export, can return a list of rows, a binary, and optionally a continuation state.
observe_export_resource_content_disposition/2
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
observe_import_csv_definition/2
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…
See also
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.
See also
See also
See also
Retrieve information that is stored in the site configuration. If you want to query values from the config table…
See also
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
See also
See also
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.
See also
See also
See also
See also
See also
See also
See also
See also
See also
Validate input date against a given date format.
See also
See also
Implements a basic commenting system, enabling commenting on resources.
See also
See also
See also
Media update done notification. action is ‘insert’, ‘update’ or ‘delete’
See also
Confirm a mailinglist subscription. Required argument is the confirm_key .
Request to generate a HTML media viewer for a resource. The HTML data can not contain any Javascript, as it might be…
Implements rate limiting for various resources.
First to check for password reset forms, return undefined, ok, or \{error, Reason\}.
See also
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.
Todo
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.